mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
take advantage of the fast_call_user_function() api call for all of the
callbacks.
This commit is contained in:
parent
8338bea018
commit
8b50ea61a7
2 changed files with 41 additions and 23 deletions
|
@ -14,6 +14,7 @@
|
|||
+----------------------------------------------------------------------+
|
||||
| Authors: Stig Sæther Bakken <ssb@php.net> |
|
||||
| Thies C. Arntzen <thies@thieso.net> |
|
||||
| Sterling Hughes <sterling@php.net> |
|
||||
+----------------------------------------------------------------------+
|
||||
*/
|
||||
|
||||
|
@ -53,6 +54,7 @@ typedef struct {
|
|||
int case_folding;
|
||||
XML_Parser parser;
|
||||
XML_Char *target_encoding;
|
||||
|
||||
zval *startElementHandler;
|
||||
zval *endElementHandler;
|
||||
zval *characterDataHandler;
|
||||
|
@ -61,9 +63,22 @@ typedef struct {
|
|||
zval *unparsedEntityDeclHandler;
|
||||
zval *notationDeclHandler;
|
||||
zval *externalEntityRefHandler;
|
||||
zval *unknownEncodingHandler;
|
||||
zval *unknownEncodingHandler;
|
||||
zval *startNamespaceDeclHandler;
|
||||
zval *endNamespaceDeclHandler;
|
||||
|
||||
zend_function *startElementPtr;
|
||||
zend_function *endElementPtr;
|
||||
zend_function *characterDataPtr;
|
||||
zend_function *processingInstructionPtr;
|
||||
zend_function *defaultPtr;
|
||||
zend_function *unparsedEntityDeclPtr;
|
||||
zend_function *notationDeclPtr;
|
||||
zend_function *externalEntityRefPtr;
|
||||
zend_function *unknownEncodingPtr;
|
||||
zend_function *startNamespaceDeclPtr;
|
||||
zend_function *endNamespaceDeclPtr;
|
||||
|
||||
zval *object;
|
||||
|
||||
zval *data;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue