com php-src: export useful symbols from ext/simplexml: ext/simplexml/sxe.c ext/simplexml/sxe.h
| From: | Anatol Belski | Date: | Mon, 23 Mar 2015 17:33:37 +0000 |
| Subject: | com php-src: export useful symbols from ext/simplexml: ext/simplexml/sxe.c ext/simplexml/sxe.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-85835@lists.php.net to get a copy of this message | ||
Commit: 88b2a2d40594bb9924eaaae123a5833a0ba36033
Author: Anatol Belski <ab@php.net> Mon, 23 Mar 2015 18:33:37 +0100
Parents: 4dc69709e2a7e8bd933e8a8bfd7ee5a6d9715d63
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=88b2a2d40594bb9924eaaae123a5833a0ba36033
Log:
export useful symbols from ext/simplexml
Changed paths:
M ext/simplexml/sxe.c
M ext/simplexml/sxe.h
Diff:
diff --git a/ext/simplexml/sxe.c b/ext/simplexml/sxe.c
index 3095bde..c5241a8 100644
--- a/ext/simplexml/sxe.c
+++ b/ext/simplexml/sxe.c
@@ -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"
diff --git a/ext/simplexml/sxe.h b/ext/simplexml/sxe.h
index 992d1ff..7896731 100644
--- a/ext/simplexml/sxe.h
+++ b/ext/simplexml/sxe.h
@@ -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);