export useful symbols from ext/simplexml

This commit is contained in:
Anatol Belski 2015-03-23 18:33:37 +01:00
parent 4dc69709e2
commit 88b2a2d405
2 changed files with 5 additions and 3 deletions

View File

@ -27,12 +27,13 @@
#include "ext/standard/info.h"
#include "zend_interfaces.h"
#include "php_simplexml.h"
#include "ext/spl/php_spl.h"
#include "ext/spl/spl_iterators.h"
#include "sxe.h"
zend_class_entry *ce_SimpleXMLIterator = NULL;
zend_class_entry *ce_SimpleXMLElement;
PHP_SXE_API zend_class_entry *ce_SimpleXMLIterator = NULL;
PHP_SXE_API zend_class_entry *ce_SimpleXMLElement;
#include "php_simplexml_exports.h"

View File

@ -23,7 +23,8 @@
#include "php.h"
extern zend_class_entry *ce_SimpleXMLIterator;
extern PHP_SXE_API zend_class_entry *ce_SimpleXMLIterator;
extern PHP_SXE_API zend_class_entry *ce_SimpleXMLElement;
PHP_MINIT_FUNCTION(sxe);