@@ -10,8 +10,8 @@ const DOCB_DOCUMENT_NODE = 21
1010
1111type X_xmlParserInputBuffer struct {
1212 Context c.Pointer
13- Readcallback c. Pointer
14- Closecallback c. Pointer
13+ Readcallback InputReadCallback
14+ Closecallback InputCloseCallback
1515 Encoder CharEncodingHandlerPtr
1616 Buffer BufPtr
1717 Raw BufPtr
@@ -24,8 +24,8 @@ type ParserInputBufferPtr *ParserInputBuffer
2424
2525type X_xmlOutputBuffer struct {
2626 Context c.Pointer
27- Writecallback c. Pointer
28- Closecallback c. Pointer
27+ Writecallback OutputWriteCallback
28+ Closecallback OutputCloseCallback
2929 Encoder CharEncodingHandlerPtr
3030 Buffer BufPtr
3131 Conv BufPtr
@@ -46,7 +46,7 @@ type X_xmlParserInput struct {
4646 Line c.Int
4747 Col c.Int
4848 Consumed c.Ulong
49- Free c. Pointer
49+ Free ParserInputDeallocate
5050 Encoding * Char
5151 Version * Char
5252 Flags c.Int
@@ -154,7 +154,7 @@ type X_xmlParserCtxt struct {
154154 Nsdb * ParserNsData
155155 AttrHashMax c.Uint
156156 AttrHash * AttrHashBucket
157- ErrorHandler c. Pointer
157+ ErrorHandler StructuredErrorFunc
158158 ErrorCtxt c.Pointer
159159}
160160type ParserCtxt X_xmlParserCtxt
@@ -170,38 +170,38 @@ type SAXLocator X_xmlSAXLocator
170170type SAXLocatorPtr * SAXLocator
171171
172172type X_xmlSAXHandler struct {
173- InternalSubset c. Pointer
174- IsStandalone c. Pointer
175- HasInternalSubset c. Pointer
176- HasExternalSubset c. Pointer
177- ResolveEntity c. Pointer
178- GetEntity c. Pointer
179- EntityDecl c. Pointer
180- NotationDecl c. Pointer
181- AttributeDecl c. Pointer
182- ElementDecl c. Pointer
183- UnparsedEntityDecl c. Pointer
184- SetDocumentLocator c. Pointer
185- StartDocument c. Pointer
186- EndDocument c. Pointer
187- StartElement c. Pointer
188- EndElement c. Pointer
189- Reference c. Pointer
190- Characters c. Pointer
191- IgnorableWhitespace c. Pointer
192- ProcessingInstruction c. Pointer
193- Comment c. Pointer
194- Warning c. Pointer
195- Error c. Pointer
196- FatalError c. Pointer
197- GetParameterEntity c. Pointer
198- CdataBlock c. Pointer
199- ExternalSubset c. Pointer
173+ InternalSubset InternalSubsetSAXFunc
174+ IsStandalone IsStandaloneSAXFunc
175+ HasInternalSubset HasInternalSubsetSAXFunc
176+ HasExternalSubset HasExternalSubsetSAXFunc
177+ ResolveEntity ResolveEntitySAXFunc
178+ GetEntity GetEntitySAXFunc
179+ EntityDecl EntityDeclSAXFunc
180+ NotationDecl NotationDeclSAXFunc
181+ AttributeDecl AttributeDeclSAXFunc
182+ ElementDecl ElementDeclSAXFunc
183+ UnparsedEntityDecl UnparsedEntityDeclSAXFunc
184+ SetDocumentLocator SetDocumentLocatorSAXFunc
185+ StartDocument StartDocumentSAXFunc
186+ EndDocument EndDocumentSAXFunc
187+ StartElement StartElementSAXFunc
188+ EndElement EndElementSAXFunc
189+ Reference ReferenceSAXFunc
190+ Characters CharactersSAXFunc
191+ IgnorableWhitespace IgnorableWhitespaceSAXFunc
192+ ProcessingInstruction ProcessingInstructionSAXFunc
193+ Comment CommentSAXFunc
194+ Warning WarningSAXFunc
195+ Error ErrorSAXFunc
196+ FatalError FatalErrorSAXFunc
197+ GetParameterEntity GetParameterEntitySAXFunc
198+ CdataBlock CdataBlockSAXFunc
199+ ExternalSubset ExternalSubsetSAXFunc
200200 Initialized c.Uint
201201 X_private c.Pointer
202- StartElementNs c. Pointer
203- EndElementNs c. Pointer
204- Serror c. Pointer
202+ StartElementNs StartElementNsSAX2Func
203+ EndElementNs EndElementNsSAX2Func
204+ Serror StructuredErrorFunc
205205}
206206type SAXHandler X_xmlSAXHandler
207207type SAXHandlerPtr * SAXHandler
@@ -559,7 +559,7 @@ type X_xmlDOMWrapCtxt struct {
559559 X_private c.Pointer
560560 Type c.Int
561561 NamespaceMap c.Pointer
562- GetNsForNodeFunc c. Pointer
562+ GetNsForNodeFunc DOMWrapAcquireNsFunction
563563}
564564type DOMWrapCtxt X_xmlDOMWrapCtxt
565565type DOMWrapCtxtPtr * DOMWrapCtxt
0 commit comments