diff options
author | Marcus Boerger <helly@php.net> | 2006-02-26 23:14:45 +0000 |
---|---|---|
committer | Marcus Boerger <helly@php.net> | 2006-02-26 23:14:45 +0000 |
commit | 4d442447f1560c49bc39fe56fc16bf7e8d50e4be (patch) | |
tree | b19d75a99d33690ede6365cc26761675eaf00940 /ext/simplexml/php_simplexml.h | |
parent | 2d4b399fe1c09357b28c7b6cc1ccf1c032ed2bda (diff) | |
download | php-git-4d442447f1560c49bc39fe56fc16bf7e8d50e4be.tar.gz |
- Synch with head
Diffstat (limited to 'ext/simplexml/php_simplexml.h')
-rw-r--r-- | ext/simplexml/php_simplexml.h | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/ext/simplexml/php_simplexml.h b/ext/simplexml/php_simplexml.h index cbd869c540..15e0221ec2 100644 --- a/ext/simplexml/php_simplexml.h +++ b/ext/simplexml/php_simplexml.h @@ -53,6 +53,13 @@ PHP_RINIT_FUNCTION(simplexml); #endif PHP_MINFO_FUNCTION(simplexml); +typedef enum { + SXE_ITER_NONE = 0, + SXE_ITER_ELEMENT = 1, + SXE_ITER_CHILD = 2, + SXE_ITER_ATTRLIST = 3 +} SXE_ITER; + typedef struct { zend_object zo; php_libxml_node_ptr *node; @@ -63,16 +70,12 @@ typedef struct { int itertype; char *name; char *nsprefix; - int type; + SXE_ITER type; zval *data; } iter; + zval *tmp; } php_sxe_object; -#define SXE_ITER_NONE 0 -#define SXE_ITER_ELEMENT 1 -#define SXE_ITER_CHILD 2 -#define SXE_ITER_ATTRLIST 3 - #ifdef ZTS #define SIMPLEXML_G(v) TSRMG(simplexml_globals_id, zend_simplexml_globals *, v) #else |