1
0
mirror of https://gitlab.gnome.org/GNOME/libxslt synced 2025-07-29 15:41:13 +03:00

fixed a small warning. rebuilt the APIs Daniel

* python/libxml.c : fixed a small warning.
* doc/libxslt-api.xml doc/libxslt-decl.txt doc/libxslt-refs.xml
  python/libxsltclass.txt: rebuilt the APIs
Daniel
This commit is contained in:
Daniel Veillard
2002-02-10 19:31:34 +00:00
parent 2e2bc3adde
commit 0f39f084c1
6 changed files with 73 additions and 2 deletions

View File

@ -1,3 +1,9 @@
Sun Feb 10 20:25:28 CET 2002 Daniel Veillard <daniel@veillard.com>
* python/libxml.c : fixed a small warning.
* doc/libxslt-api.xml doc/libxslt-decl.txt doc/libxslt-refs.xml
python/libxsltclass.txt: rebuilt the APIs
Sun Feb 10 20:16:15 CET 2002 Daniel Veillard <daniel@veillard.com> Sun Feb 10 20:16:15 CET 2002 Daniel Veillard <daniel@veillard.com>
* libxslt/imports.c libxslt/numbers.c libxslt/pattern.c * libxslt/imports.c libxslt/numbers.c libxslt/pattern.c

View File

@ -96,6 +96,9 @@
<file name='xsltInternals'> <file name='xsltInternals'>
<exports symbol='XSLT_MAX_SORT'/> <exports symbol='XSLT_MAX_SORT'/>
<exports symbol='XSLT_PAT_NO_PRIORITY'/> <exports symbol='XSLT_PAT_NO_PRIORITY'/>
<exports symbol='xsltRuntimeExtra'/>
<exports symbol='xsltRuntimeExtraPtr'/>
<exports symbol='XSLT_RUNTIME_EXTRA'/>
<exports symbol='xsltTemplate'/> <exports symbol='xsltTemplate'/>
<exports symbol='xsltTemplatePtr'/> <exports symbol='xsltTemplatePtr'/>
<exports symbol='xsltDecimalFormat'/> <exports symbol='xsltDecimalFormat'/>
@ -133,6 +136,8 @@
<exports symbol='xsltNumberFormat'/> <exports symbol='xsltNumberFormat'/>
<exports symbol='xsltFormatNumberConversion'/> <exports symbol='xsltFormatNumberConversion'/>
<exports symbol='xsltParseTemplateContent'/> <exports symbol='xsltParseTemplateContent'/>
<exports symbol='xsltAllocateExtra'/>
<exports symbol='xsltAllocateExtraCtxt'/>
</file> </file>
<file name='libxslt'> <file name='libxslt'>
<exports symbol='IN_LIBXSLT'/> <exports symbol='IN_LIBXSLT'/>
@ -405,6 +410,8 @@
<macro name='XSLT_REGISTER_VARIABLE_LOOKUP' file='variables'> <macro name='XSLT_REGISTER_VARIABLE_LOOKUP' file='variables'>
<info>registering macro, not general purpose at all but used in different modules</info> <info>registering macro, not general purpose at all but used in different modules</info>
</macro> </macro>
<macro name='XSLT_RUNTIME_EXTRA' file='xsltInternals'>
</macro>
<macro name='XSLT_SAXON_NAMESPACE' file='extra'> <macro name='XSLT_SAXON_NAMESPACE' file='extra'>
<info>This is Michael Kay&apos;s Saxon processor namespace for extensions</info> <info>This is Michael Kay&apos;s Saxon processor namespace for extensions</info>
</macro> </macro>
@ -470,6 +477,14 @@
<arg name='mode' type='const xmlChar *' info='the mode name or NULL '/> <arg name='mode' type='const xmlChar *' info='the mode name or NULL '/>
<arg name='modeURI' type='const xmlChar *' info='the mode URI or NULL '/> <arg name='modeURI' type='const xmlChar *' info='the mode URI or NULL '/>
</function> </function>
<function name='xsltAllocateExtra' file='xsltInternals'>
<return type='int'/>
<arg name='style' type='xsltStylesheetPtr'/>
</function>
<function name='xsltAllocateExtraCtxt' file='xsltInternals'>
<return type='int'/>
<arg name='ctxt' type='xsltTransformContextPtr'/>
</function>
<function name='xsltApplyAttributeSet' file='attributes'> <function name='xsltApplyAttributeSet' file='attributes'>
<info>Apply the xsl:use-attribute-sets</info> <info>Apply the xsl:use-attribute-sets</info>
<return type='void'/> <return type='void'/>
@ -606,6 +621,8 @@
<arg name='pattern' type='const xmlChar *' info='an XSLT pattern '/> <arg name='pattern' type='const xmlChar *' info='an XSLT pattern '/>
<arg name='doc' type='xmlDocPtr' info='the containing document '/> <arg name='doc' type='xmlDocPtr' info='the containing document '/>
<arg name='node' type='xmlNodePtr' info='the containing element '/> <arg name='node' type='xmlNodePtr' info='the containing element '/>
<arg name='style' type='xsltStylesheetPtr'/>
<arg name='runtime' type='xsltTransformContextPtr'/>
</function> </function>
<function name='xsltCopy' file='transform'> <function name='xsltCopy' file='transform'>
<info>Process the xslt copy node on the source node</info> <info>Process the xslt copy node on the source node</info>
@ -1354,6 +1371,8 @@
<arg name='SAX' type='xmlSAXHandlerPtr' info='a SAX handler for progressive callback output (not implemented yet) '/> <arg name='SAX' type='xmlSAXHandlerPtr' info='a SAX handler for progressive callback output (not implemented yet) '/>
<arg name='IObuf' type='xmlOutputBufferPtr' info='an output buffer for progressive output (not implemented yet) '/> <arg name='IObuf' type='xmlOutputBufferPtr' info='an output buffer for progressive output (not implemented yet) '/>
</function> </function>
<struct name='xsltRuntimeExtra' file='xsltInternals'/>
<typedef name='xsltRuntimeExtraPtr' file='xsltInternals'/>
<function name='xsltSaveProfiling' file='xsltutils'> <function name='xsltSaveProfiling' file='xsltutils'>
<info>Save the profiling informations on output</info> <info>Save the profiling informations on output</info>
<return type='void'/> <return type='void'/>

View File

@ -106,7 +106,7 @@ typedef xsltCompMatch *xsltCompMatchPtr;
<FUNCTION> <FUNCTION>
<NAME>xsltCompilePattern</NAME> <NAME>xsltCompilePattern</NAME>
<RETURNS>xsltCompMatchPtr </RETURNS> <RETURNS>xsltCompMatchPtr </RETURNS>
const xmlChar *pattern,xmlDocPtr doc,xmlNodePtr node const xmlChar *pattern,xmlDocPtr doc,xmlNodePtr node,xsltStylesheetPtr style,xsltTransformContextPtr runtime
</FUNCTION> </FUNCTION>
<FUNCTION> <FUNCTION>
<NAME>xsltFreeCompMatchList</NAME> <NAME>xsltFreeCompMatchList</NAME>
@ -1075,6 +1075,24 @@ xsltStylesheetPtr style
#define XSLT_PAT_NO_PRIORITY -12345789 #define XSLT_PAT_NO_PRIORITY -12345789
</MACRO> </MACRO>
<STRUCT> <STRUCT>
<NAME>xsltRuntimeExtra</NAME>
</STRUCT>
<TYPEDEF>
<NAME>xsltRuntimeExtraPtr</NAME>
typedef xsltRuntimeExtra *xsltRuntimeExtraPtr;
</TYPEDEF>
<STRUCT>
<NAME>xsltRuntimeExtra</NAME>
struct xsltRuntimeExtra {
void *info; /* pointer to the extra data */
xmlFreeFunc deallocate; /* pointer to the deallocation routine */
};
</STRUCT>
<MACRO>
<NAME>XSLT_RUNTIME_EXTRA</NAME>
#define XSLT_RUNTIME_EXTRA(ctxt, nr) (ctxt)->extras[(nr)].info
</MACRO>
<STRUCT>
<NAME>xsltTemplate</NAME> <NAME>xsltTemplate</NAME>
</STRUCT> </STRUCT>
<TYPEDEF> <TYPEDEF>
@ -1392,6 +1410,7 @@ struct xsltStylesheet {
* Extensions * Extensions
*/ */
xmlHashTablePtr extInfos; /* the extension data */ xmlHashTablePtr extInfos; /* the extension data */
int extrasNr; /* the number of extras required */
}; };
</STRUCT> </STRUCT>
<ENUM> <ENUM>
@ -1468,6 +1487,10 @@ struct xsltTransformContext {
long *profTab; /* the profile template stack */ long *profTab; /* the profile template stack */
void *_private; /* user defined data */ void *_private; /* user defined data */
int extrasNr; /* the number of extras used */
int extrasMax; /* the number of extras allocated */
xsltRuntimeExtraPtr extras; /* extra per runtime informations */
}; };
</STRUCT> </STRUCT>
<MACRO> <MACRO>
@ -1547,3 +1570,13 @@ xsltDecimalFormatPtr self,xmlChar *format,double number,xmlChar **result
<RETURNS>void </RETURNS> <RETURNS>void </RETURNS>
xsltStylesheetPtr style,xmlNodePtr templ xsltStylesheetPtr style,xmlNodePtr templ
</FUNCTION> </FUNCTION>
<FUNCTION>
<NAME>xsltAllocateExtra</NAME>
<RETURNS>int </RETURNS>
xsltStylesheetPtr style
</FUNCTION>
<FUNCTION>
<NAME>xsltAllocateExtraCtxt</NAME>
<RETURNS>int </RETURNS>
xsltTransformContextPtr ctxt
</FUNCTION>

View File

@ -941,6 +941,7 @@
<type name='xsltStylesheetPtr'> <type name='xsltStylesheetPtr'>
<ref name='xsltAddKey'/> <ref name='xsltAddKey'/>
<ref name='xsltFreeKeys'/> <ref name='xsltFreeKeys'/>
<ref name='xsltCompilePattern'/>
<ref name='xsltAddTemplate'/> <ref name='xsltAddTemplate'/>
<ref name='xsltGetTemplate'/> <ref name='xsltGetTemplate'/>
<ref name='xsltFreeTemplateHashes'/> <ref name='xsltFreeTemplateHashes'/>
@ -987,6 +988,7 @@
<ref name='xsltParseStylesheetProcess'/> <ref name='xsltParseStylesheetProcess'/>
<ref name='xsltParseStylesheetOutput'/> <ref name='xsltParseStylesheetOutput'/>
<ref name='xsltParseTemplateContent'/> <ref name='xsltParseTemplateContent'/>
<ref name='xsltAllocateExtra'/>
</type> </type>
<type name='xsltTemplatePtr'> <type name='xsltTemplatePtr'>
<ref name='xsltAddTemplate'/> <ref name='xsltAddTemplate'/>
@ -1002,6 +1004,7 @@
<type name='xsltTransformContextPtr'> <type name='xsltTransformContextPtr'>
<ref name='xsltGetKey'/> <ref name='xsltGetKey'/>
<ref name='xsltInitCtxtKeys'/> <ref name='xsltInitCtxtKeys'/>
<ref name='xsltCompilePattern'/>
<ref name='xsltTestCompMatchList'/> <ref name='xsltTestCompMatchList'/>
<ref name='xsltGetTemplate'/> <ref name='xsltGetTemplate'/>
<ref name='xsltMatchPattern'/> <ref name='xsltMatchPattern'/>
@ -1079,6 +1082,7 @@
<ref name='xsltRegisterExtras'/> <ref name='xsltRegisterExtras'/>
<ref name='xsltTransformFunction'/> <ref name='xsltTransformFunction'/>
<ref name='xsltNumberFormat'/> <ref name='xsltNumberFormat'/>
<ref name='xsltAllocateExtraCtxt'/>
</type> </type>
<type name='xsltTransformFunction'> <type name='xsltTransformFunction'>
<ref name='xsltElemPreCompPtr'/> <ref name='xsltElemPreCompPtr'/>
@ -1285,6 +1289,9 @@
<file name='xsltInternals'> <file name='xsltInternals'>
<ref name='XSLT_MAX_SORT'/> <ref name='XSLT_MAX_SORT'/>
<ref name='XSLT_PAT_NO_PRIORITY'/> <ref name='XSLT_PAT_NO_PRIORITY'/>
<ref name='xsltRuntimeExtra'/>
<ref name='xsltRuntimeExtraPtr'/>
<ref name='XSLT_RUNTIME_EXTRA'/>
<ref name='xsltTemplate'/> <ref name='xsltTemplate'/>
<ref name='xsltTemplatePtr'/> <ref name='xsltTemplatePtr'/>
<ref name='xsltDecimalFormat'/> <ref name='xsltDecimalFormat'/>
@ -1322,6 +1329,8 @@
<ref name='xsltNumberFormat'/> <ref name='xsltNumberFormat'/>
<ref name='xsltFormatNumberConversion'/> <ref name='xsltFormatNumberConversion'/>
<ref name='xsltParseTemplateContent'/> <ref name='xsltParseTemplateContent'/>
<ref name='xsltAllocateExtra'/>
<ref name='xsltAllocateExtraCtxt'/>
</file> </file>
<file name='xsltconfig'> <file name='xsltconfig'>
<ref name='LIBXSLT_DOTTED_VERSION'/> <ref name='LIBXSLT_DOTTED_VERSION'/>

View File

@ -349,7 +349,7 @@ libxslt_xsltCleanup(PyObject *self, PyObject *args) {
************************************************************************/ ************************************************************************/
static PyMethodDef libxsltMethods[] = { static PyMethodDef libxsltMethods[] = {
#include "libxslt-export.c" #include "libxslt-export.c"
{ NULL, NULL, NULL, NULL } { NULL }
}; };
void initlibxsltmod(void) { void initlibxsltmod(void) {

View File

@ -128,6 +128,9 @@ Class transformCtxt()
quoteOneUserParam() quoteOneUserParam()
variableLookup() variableLookup()
# functions from module xsltInternals
allocateExtraCtxt()
# functions from module xsltutils # functions from module xsltutils
message() message()
printErrorContext() printErrorContext()
@ -190,6 +193,7 @@ Class stylesheet()
parseGlobalVariable() parseGlobalVariable()
# functions from module xsltInternals # functions from module xsltInternals
allocateExtra()
freeStylesheet() freeStylesheet()
parseStylesheetOutput() parseStylesheetOutput()
parseStylesheetProcess() parseStylesheetProcess()