diff options
Diffstat (limited to 'ext/xmlwriter/php_xmlwriter.h')
| -rw-r--r-- | ext/xmlwriter/php_xmlwriter.h | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/ext/xmlwriter/php_xmlwriter.h b/ext/xmlwriter/php_xmlwriter.h index 0413d3031e..c65678ab3f 100644 --- a/ext/xmlwriter/php_xmlwriter.h +++ b/ext/xmlwriter/php_xmlwriter.h @@ -1,7 +1,5 @@ /* +----------------------------------------------------------------------+ - | PHP Version 7 | - +----------------------------------------------------------------------+ | Copyright (c) The PHP Group | +----------------------------------------------------------------------+ | This source file is subject to version 3.01 of the PHP license, | @@ -34,16 +32,10 @@ extern zend_module_entry xmlwriter_module_entry; #include <libxml/xmlwriter.h> #include <libxml/uri.h> -/* Resource struct, not the object :) */ -typedef struct _xmlwriter_object { - xmlTextWriterPtr ptr; - xmlBufferPtr output; -} xmlwriter_object; - - /* Extends zend object */ typedef struct _ze_xmlwriter_object { - xmlwriter_object *xmlwriter_ptr; + xmlTextWriterPtr ptr; + xmlBufferPtr output; zend_object std; } ze_xmlwriter_object; |
