diff options
author | Daniel Veillard <veillard@src.gnome.org> | 2002-02-10 19:31:34 +0000 |
---|---|---|
committer | Daniel Veillard <veillard@src.gnome.org> | 2002-02-10 19:31:34 +0000 |
commit | 0f39f084c1b81180a6a7d068c35b793d93bb6741 (patch) | |
tree | 2bf560e678ec90cabc57d4c6218ce09157634c4d /doc | |
parent | 2e2bc3addecef3f5ee2668302a3aad6a60216f75 (diff) | |
download | libxslt-0f39f084c1b81180a6a7d068c35b793d93bb6741.tar.gz libxslt-0f39f084c1b81180a6a7d068c35b793d93bb6741.tar.bz2 libxslt-0f39f084c1b81180a6a7d068c35b793d93bb6741.zip |
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
Diffstat (limited to 'doc')
-rw-r--r-- | doc/libxslt-api.xml | 19 | ||||
-rw-r--r-- | doc/libxslt-decl.txt | 35 | ||||
-rw-r--r-- | doc/libxslt-refs.xml | 9 |
3 files changed, 62 insertions, 1 deletions
diff --git a/doc/libxslt-api.xml b/doc/libxslt-api.xml index f939795c..708fc7b6 100644 --- a/doc/libxslt-api.xml +++ b/doc/libxslt-api.xml @@ -96,6 +96,9 @@ <file name='xsltInternals'> <exports symbol='XSLT_MAX_SORT'/> <exports symbol='XSLT_PAT_NO_PRIORITY'/> + <exports symbol='xsltRuntimeExtra'/> + <exports symbol='xsltRuntimeExtraPtr'/> + <exports symbol='XSLT_RUNTIME_EXTRA'/> <exports symbol='xsltTemplate'/> <exports symbol='xsltTemplatePtr'/> <exports symbol='xsltDecimalFormat'/> @@ -133,6 +136,8 @@ <exports symbol='xsltNumberFormat'/> <exports symbol='xsltFormatNumberConversion'/> <exports symbol='xsltParseTemplateContent'/> + <exports symbol='xsltAllocateExtra'/> + <exports symbol='xsltAllocateExtraCtxt'/> </file> <file name='libxslt'> <exports symbol='IN_LIBXSLT'/> @@ -405,6 +410,8 @@ <macro name='XSLT_REGISTER_VARIABLE_LOOKUP' file='variables'> <info>registering macro, not general purpose at all but used in different modules</info> </macro> + <macro name='XSLT_RUNTIME_EXTRA' file='xsltInternals'> + </macro> <macro name='XSLT_SAXON_NAMESPACE' file='extra'> <info>This is Michael Kay's Saxon processor namespace for extensions</info> </macro> @@ -470,6 +477,14 @@ <arg name='mode' type='const xmlChar *' info='the mode name or NULL '/> <arg name='modeURI' type='const xmlChar *' info='the mode URI or NULL '/> </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'> <info>Apply the xsl:use-attribute-sets</info> <return type='void'/> @@ -606,6 +621,8 @@ <arg name='pattern' type='const xmlChar *' info='an XSLT pattern '/> <arg name='doc' type='xmlDocPtr' info='the containing document '/> <arg name='node' type='xmlNodePtr' info='the containing element '/> + <arg name='style' type='xsltStylesheetPtr'/> + <arg name='runtime' type='xsltTransformContextPtr'/> </function> <function name='xsltCopy' file='transform'> <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='IObuf' type='xmlOutputBufferPtr' info='an output buffer for progressive output (not implemented yet) '/> </function> + <struct name='xsltRuntimeExtra' file='xsltInternals'/> + <typedef name='xsltRuntimeExtraPtr' file='xsltInternals'/> <function name='xsltSaveProfiling' file='xsltutils'> <info>Save the profiling informations on output</info> <return type='void'/> diff --git a/doc/libxslt-decl.txt b/doc/libxslt-decl.txt index 7a0a5e24..c63d1638 100644 --- a/doc/libxslt-decl.txt +++ b/doc/libxslt-decl.txt @@ -106,7 +106,7 @@ typedef xsltCompMatch *xsltCompMatchPtr; <FUNCTION> <NAME>xsltCompilePattern</NAME> <RETURNS>xsltCompMatchPtr </RETURNS> -const xmlChar *pattern,xmlDocPtr doc,xmlNodePtr node +const xmlChar *pattern,xmlDocPtr doc,xmlNodePtr node,xsltStylesheetPtr style,xsltTransformContextPtr runtime </FUNCTION> <FUNCTION> <NAME>xsltFreeCompMatchList</NAME> @@ -1075,6 +1075,24 @@ xsltStylesheetPtr style #define XSLT_PAT_NO_PRIORITY -12345789 </MACRO> <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> </STRUCT> <TYPEDEF> @@ -1392,6 +1410,7 @@ struct xsltStylesheet { * Extensions */ xmlHashTablePtr extInfos; /* the extension data */ + int extrasNr; /* the number of extras required */ }; </STRUCT> <ENUM> @@ -1468,6 +1487,10 @@ struct xsltTransformContext { long *profTab; /* the profile template stack */ 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> <MACRO> @@ -1547,3 +1570,13 @@ xsltDecimalFormatPtr self,xmlChar *format,double number,xmlChar **result <RETURNS>void </RETURNS> xsltStylesheetPtr style,xmlNodePtr templ </FUNCTION> +<FUNCTION> +<NAME>xsltAllocateExtra</NAME> +<RETURNS>int </RETURNS> +xsltStylesheetPtr style +</FUNCTION> +<FUNCTION> +<NAME>xsltAllocateExtraCtxt</NAME> +<RETURNS>int </RETURNS> +xsltTransformContextPtr ctxt +</FUNCTION> diff --git a/doc/libxslt-refs.xml b/doc/libxslt-refs.xml index 7a59d933..f4467e0d 100644 --- a/doc/libxslt-refs.xml +++ b/doc/libxslt-refs.xml @@ -941,6 +941,7 @@ <type name='xsltStylesheetPtr'> <ref name='xsltAddKey'/> <ref name='xsltFreeKeys'/> + <ref name='xsltCompilePattern'/> <ref name='xsltAddTemplate'/> <ref name='xsltGetTemplate'/> <ref name='xsltFreeTemplateHashes'/> @@ -987,6 +988,7 @@ <ref name='xsltParseStylesheetProcess'/> <ref name='xsltParseStylesheetOutput'/> <ref name='xsltParseTemplateContent'/> + <ref name='xsltAllocateExtra'/> </type> <type name='xsltTemplatePtr'> <ref name='xsltAddTemplate'/> @@ -1002,6 +1004,7 @@ <type name='xsltTransformContextPtr'> <ref name='xsltGetKey'/> <ref name='xsltInitCtxtKeys'/> + <ref name='xsltCompilePattern'/> <ref name='xsltTestCompMatchList'/> <ref name='xsltGetTemplate'/> <ref name='xsltMatchPattern'/> @@ -1079,6 +1082,7 @@ <ref name='xsltRegisterExtras'/> <ref name='xsltTransformFunction'/> <ref name='xsltNumberFormat'/> + <ref name='xsltAllocateExtraCtxt'/> </type> <type name='xsltTransformFunction'> <ref name='xsltElemPreCompPtr'/> @@ -1285,6 +1289,9 @@ <file name='xsltInternals'> <ref name='XSLT_MAX_SORT'/> <ref name='XSLT_PAT_NO_PRIORITY'/> + <ref name='xsltRuntimeExtra'/> + <ref name='xsltRuntimeExtraPtr'/> + <ref name='XSLT_RUNTIME_EXTRA'/> <ref name='xsltTemplate'/> <ref name='xsltTemplatePtr'/> <ref name='xsltDecimalFormat'/> @@ -1322,6 +1329,8 @@ <ref name='xsltNumberFormat'/> <ref name='xsltFormatNumberConversion'/> <ref name='xsltParseTemplateContent'/> + <ref name='xsltAllocateExtra'/> + <ref name='xsltAllocateExtraCtxt'/> </file> <file name='xsltconfig'> <ref name='LIBXSLT_DOTTED_VERSION'/> |