17 #include "ext/standard/info.h"
18 #include "Zend/zend_exceptions.h"
22 #include "zend_interfaces.h"
24 #include "zend_closures.h"
27 #define _ALLOW_KEYWORD_MACROS
31 #define PHP_SAXON_API __declspec(dllexport)
32 #define PHP_SAXON __declspec(dllimport)
45 #include "SaxonProcessor.h"
49 #include "XdmAtomicValue.h"
55 extern zend_module_entry saxon_module_entry;
56 #define phpext_saxon_ptr &saxon_module_entry;
59 # define PHP_SAXON_API __declspec(dllexport)
60 #elif defined(__GNUC__) && __GNUC__ >= 4
61 # define PHP_SAXON_API __attribute__ ((visibility("default")))
63 # define PHP_SAXON_API
66 #define SAXON_G(v) ZEND_MODULE_GLOBALS_ACCESSOR(saxon, v)
68 #if defined(ZTS) && defined(COMPILE_DL_SAXON)
69 ZEND_TSRMLS_CACHE_EXTERN()
72 #if PHP_MAJOR_VERSION < 7
73 #define _ZVAL_STRING(str, len) ZVAL_STRING(str, len, 0)
74 #define _RETURN_STRING(str) RETURN_STRING(str, 0)
76 #define _ZVAL_STRING(str, len) ZVAL_STRING(str, len)
77 #define _RETURN_STRING(str) RETURN_STRING(str)
141 #define PHP_SAXON_EXTNAME "Saxon/C"
142 #define PHP_SAXON_EXTVER "1.1.0"
150 jobject JNICALL phpNativeCall
151 (JNIEnv *env, jobject
object, jstring funcName, jobjectArray arguments, jobjectArray arrayTypes);
153 PHP_MSHUTDOWN_FUNCTION(saxon);
154 PHP_MINFO_FUNCTION(saxon);
155 PHP_MINIT_FUNCTION(saxon);
205 PHP_METHOD(XQueryProcesor, __destruct);
278 PHP_METHOD(
XdmItem, __construct);
279 PHP_METHOD(
XdmItem, __destruct);
280 PHP_METHOD(
XdmItem, getStringValue);
283 PHP_METHOD(
XdmItem, getAtomicValue);
284 PHP_METHOD(
XdmItem, getNodeValue);
288 PHP_METHOD(
XdmNode, __construct);
289 PHP_METHOD(
XdmNode, __destruct);
290 PHP_METHOD(
XdmNode, getStringValue);
291 PHP_METHOD(
XdmNode, getNodeKind);
292 PHP_METHOD(
XdmNode, getNodeName);
294 PHP_METHOD(
XdmNode, getChildCount);
295 PHP_METHOD(
XdmNode, getAttributeCount);
296 PHP_METHOD(
XdmNode, getChildNode);
297 PHP_METHOD(
XdmNode, getParent);
298 PHP_METHOD(
XdmNode, getAttributeNode);
299 PHP_METHOD(
XdmNode, getAttributeValue);
Definition: php5_saxon.h:73
Definition: XQueryProcessor.h:26
Definition: php5_saxon.h:93
Definition: XdmAtomicValue.h:21
Definition: php5_saxon.h:58
Definition: php5_saxon.h:68
Definition: SchemaValidator.h:26
Definition: XdmValue.h:44
Definition: XsltProcessor.h:24
Definition: php5_saxon.h:54
Definition: SaxonProcessor.h:290
Definition: php5_saxon.h:88
Definition: php5_saxon.h:78
Definition: XPathProcessor.h:26
Definition: php5_saxon.h:63
Definition: php5_saxon.h:83
Definition: php5_saxon.h:98