summaryrefslogtreecommitdiff
path: root/php/src/php7/Init.cpp
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2016-03-01 15:15:55 +0100
committerJose <jose@zeroc.com>2016-03-01 15:15:55 +0100
commit354a812c57df4c9229822d3905c80c5aa92c03c6 (patch)
tree706b046b40f9be789ae9ebad52a13e40682b936d /php/src/php7/Init.cpp
parentMerge remote-tracking branch 'origin/3.6' (diff)
downloadice-354a812c57df4c9229822d3905c80c5aa92c03c6.tar.bz2
ice-354a812c57df4c9229822d3905c80c5aa92c03c6.tar.xz
ice-354a812c57df4c9229822d3905c80c5aa92c03c6.zip
Ice::identityToString/Ice::stringToIdentity for PHP7
Diffstat (limited to 'php/src/php7/Init.cpp')
-rw-r--r--php/src/php7/Init.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/php/src/php7/Init.cpp b/php/src/php7/Init.cpp
index b3c3b4eedb2..1dd89fbfc45 100644
--- a/php/src/php7/Init.cpp
+++ b/php/src/php7/Init.cpp
@@ -33,7 +33,9 @@ ZEND_END_ARG_INFO()
ZEND_FE(Ice_register, NULL) \
ZEND_FE(Ice_unregister, NULL) \
ZEND_FE(Ice_find, NULL) \
- ZEND_FE(Ice_getProperties, NULL)
+ ZEND_FE(Ice_getProperties, NULL) \
+ ZEND_FE(Ice_identityToString, NULL) \
+ ZEND_FE(Ice_stringToIdentity, NULL)
#ifdef ICEPHP_USE_NAMESPACES
# define ICEPHP_COMMUNICATOR_NS_FUNCTIONS \
@@ -41,7 +43,9 @@ ZEND_END_ARG_INFO()
ZEND_NS_FALIAS("Ice", register, Ice_register, NULL) \
ZEND_NS_FALIAS("Ice", unregister, Ice_unregister, NULL) \
ZEND_NS_FALIAS("Ice", find, Ice_find, NULL) \
- ZEND_NS_FALIAS("Ice", getProperties, Ice_getProperties, NULL)
+ ZEND_NS_FALIAS("Ice", getProperties, Ice_getProperties, NULL) \
+ ZEND_NS_FALIAS("Ice", identityToString, Ice_identityToString, NULL) \
+ ZEND_NS_FALIAS("Ice", stringToIdentity, Ice_stringToIdentity, NULL)
#else
# define ICEPHP_COMMUNICATOR_NS_FUNCTIONS
#endif