summaryrefslogtreecommitdiff
path: root/php/src/IcePHP/Init.cpp
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2012-10-12 15:31:48 -0700
committerMark Spruiell <mes@zeroc.com>2012-10-12 15:31:48 -0700
commited09446f6ab09a14abbbf3080bfa5986927a070d (patch)
tree4b3735e7b7b1c2ffe8056f7b9be7adbeb4d50f16 /php/src/IcePHP/Init.cpp
parentWinRT port updates (diff)
downloadice-ed09446f6ab09a14abbbf3080bfa5986927a070d.tar.bz2
ice-ed09446f6ab09a14abbbf3080bfa5986927a070d.tar.xz
ice-ed09446f6ab09a14abbbf3080bfa5986927a070d.zip
PHP optionals
Diffstat (limited to 'php/src/IcePHP/Init.cpp')
-rw-r--r--php/src/IcePHP/Init.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/php/src/IcePHP/Init.cpp b/php/src/IcePHP/Init.cpp
index 5f2f3f7d3a0..8e8e436df81 100644
--- a/php/src/IcePHP/Init.cpp
+++ b/php/src/IcePHP/Init.cpp
@@ -64,6 +64,7 @@ ZEND_END_ARG_INFO()
ZEND_FE(IcePHP_defineStruct, NULL) \
ZEND_FE(IcePHP_defineSequence, NULL) \
ZEND_FE(IcePHP_defineDictionary, NULL) \
+ ZEND_FE(IcePHP_declareProxy, NULL) \
ZEND_FE(IcePHP_defineProxy, NULL) \
ZEND_FE(IcePHP_declareClass, NULL) \
ZEND_FE(IcePHP_defineClass, NULL) \
@@ -149,6 +150,7 @@ int initIceGlobals(zend_ice_globals* g)
g->nameToClassInfoMap = 0;
g->proxyInfoMap = 0;
g->exceptionInfoMap = 0;
+ g->unset = 0;
return SUCCESS;
}
@@ -172,7 +174,7 @@ ZEND_MINIT_FUNCTION(ice)
return FAILURE;
}
- if(!typesInit(TSRMLS_C))
+ if(!typesInit(INIT_FUNC_ARGS_PASSTHRU))
{
return FAILURE;
}