summaryrefslogtreecommitdiff
path: root/php/src/IcePHP/Connection.cpp
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2013-07-09 19:50:27 +0200
committerJose <jose@zeroc.com>2013-07-09 19:50:27 +0200
commit6c9af35fb4001a337f794b905de363da70117c00 (patch)
tree10a73d77aa59f4c2c1cddef121243363986a9aa9 /php/src/IcePHP/Connection.cpp
parentICE-5338 - null reference error in metrics (diff)
downloadice-6c9af35fb4001a337f794b905de363da70117c00.tar.bz2
ice-6c9af35fb4001a337f794b905de363da70117c00.tar.xz
ice-6c9af35fb4001a337f794b905de363da70117c00.zip
Fixed ICE-5376 - IcePHP build with USE_NAMESPACES=yes broken
Diffstat (limited to 'php/src/IcePHP/Connection.cpp')
-rw-r--r--php/src/IcePHP/Connection.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/php/src/IcePHP/Connection.cpp b/php/src/IcePHP/Connection.cpp
index 9ad24ec1b25..57823f94104 100644
--- a/php/src/IcePHP/Connection.cpp
+++ b/php/src/IcePHP/Connection.cpp
@@ -360,7 +360,7 @@ IcePHP::connectionInit(TSRMLS_D)
//
zend_class_entry ce;
#ifdef ICEPHP_USE_NAMESPACES
- INIT_NS_CLASS_ENTRY(ce, STRCAST("Ice"), STRCAST("Connection"), _interfaceMethods);
+ INIT_NS_CLASS_ENTRY(ce, "Ice", "Connection", _interfaceMethods);
#else
INIT_CLASS_ENTRY(ce, "Ice_Connection", _interfaceMethods);
#endif
@@ -380,7 +380,7 @@ IcePHP::connectionInit(TSRMLS_D)
// Register the ConnectionInfo class.
//
#ifdef ICEPHP_USE_NAMESPACES
- INIT_NS_CLASS_ENTRY(ce, STRCAST("Ice"), STRCAST("ConnectionInfo"), _connectionInfoClassMethods);
+ INIT_NS_CLASS_ENTRY(ce, "Ice", "ConnectionInfo", _connectionInfoClassMethods);
#else
INIT_CLASS_ENTRY(ce, "Ice_ConnectionInfo", _connectionInfoClassMethods);
#endif
@@ -396,7 +396,7 @@ IcePHP::connectionInit(TSRMLS_D)
// Register the IPConnectionInfo class.
//
#ifdef ICEPHP_USE_NAMESPACES
- INIT_NS_CLASS_ENTRY(ce, STRCAST("Ice"), STRCAST("IPConnectionInfo"), NULL);
+ INIT_NS_CLASS_ENTRY(ce, "Ice", "IPConnectionInfo", NULL);
#else
INIT_CLASS_ENTRY(ce, "Ice_IPConnectionInfo", NULL);
#endif
@@ -415,7 +415,7 @@ IcePHP::connectionInit(TSRMLS_D)
// Register the TCPConnectionInfo class.
//
#ifdef ICEPHP_USE_NAMESPACES
- INIT_NS_CLASS_ENTRY(ce, STRCAST("Ice"), STRCAST("TCPConnectionInfo"), NULL);
+ INIT_NS_CLASS_ENTRY(ce, "Ice", "TCPConnectionInfo", NULL);
#else
INIT_CLASS_ENTRY(ce, "Ice_TCPConnectionInfo", NULL);
#endif
@@ -426,7 +426,7 @@ IcePHP::connectionInit(TSRMLS_D)
// Register the UDPConnectionInfo class.
//
#ifdef ICEPHP_USE_NAMESPACES
- INIT_NS_CLASS_ENTRY(ce, STRCAST("Ice"), STRCAST("UDPConnectionInfo"), NULL);
+ INIT_NS_CLASS_ENTRY(ce, "Ice", "UDPConnectionInfo", NULL);
#else
INIT_CLASS_ENTRY(ce, "Ice_UDPConnectionInfo", NULL);
#endif