summaryrefslogtreecommitdiff
path: root/php/src/IcePHP/Endpoint.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/Endpoint.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/Endpoint.cpp')
-rw-r--r--php/src/IcePHP/Endpoint.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/php/src/IcePHP/Endpoint.cpp b/php/src/IcePHP/Endpoint.cpp
index d718610c94d..b3cc4351670 100644
--- a/php/src/IcePHP/Endpoint.cpp
+++ b/php/src/IcePHP/Endpoint.cpp
@@ -274,7 +274,7 @@ IcePHP::endpointInit(TSRMLS_D)
//
zend_class_entry ce;
#ifdef ICEPHP_USE_NAMESPACES
- INIT_NS_CLASS_ENTRY(ce, STRCAST("Ice"), STRCAST("Endpoint"), _interfaceMethods);
+ INIT_NS_CLASS_ENTRY(ce, "Ice", "Endpoint", _interfaceMethods);
#else
INIT_CLASS_ENTRY(ce, "Ice_Endpoint", _interfaceMethods);
#endif
@@ -293,7 +293,7 @@ IcePHP::endpointInit(TSRMLS_D)
// Register the EndpointInfo class.
//
#ifdef ICEPHP_USE_NAMESPACES
- INIT_NS_CLASS_ENTRY(ce, STRCAST("Ice"), STRCAST("EndpointInfo"), _endpointInfoMethods);
+ INIT_NS_CLASS_ENTRY(ce, "Ice", "EndpointInfo", _endpointInfoMethods);
#else
INIT_CLASS_ENTRY(ce, "Ice_EndpointInfo", _endpointInfoMethods);
#endif
@@ -309,7 +309,7 @@ IcePHP::endpointInit(TSRMLS_D)
// Register the IPEndpointInfo class.
//
#ifdef ICEPHP_USE_NAMESPACES
- INIT_NS_CLASS_ENTRY(ce, STRCAST("Ice"), STRCAST("IPEndpointInfo"), NULL);
+ INIT_NS_CLASS_ENTRY(ce, "Ice", "IPEndpointInfo", NULL);
#else
INIT_CLASS_ENTRY(ce, "Ice_IPEndpointInfo", NULL);
#endif
@@ -324,7 +324,7 @@ IcePHP::endpointInit(TSRMLS_D)
// Register the TCPEndpointInfo class.
//
#ifdef ICEPHP_USE_NAMESPACES
- INIT_NS_CLASS_ENTRY(ce, STRCAST("Ice"), STRCAST("TCPEndpointInfo"), NULL);
+ INIT_NS_CLASS_ENTRY(ce, "Ice", "TCPEndpointInfo", NULL);
#else
INIT_CLASS_ENTRY(ce, "Ice_TCPEndpointInfo", NULL);
#endif
@@ -335,7 +335,7 @@ IcePHP::endpointInit(TSRMLS_D)
// Register the UDPEndpointInfo class.
//
#ifdef ICEPHP_USE_NAMESPACES
- INIT_NS_CLASS_ENTRY(ce, STRCAST("Ice"), STRCAST("UDPEndpointInfo"), NULL);
+ INIT_NS_CLASS_ENTRY(ce, "Ice", "UDPEndpointInfo", NULL);
#else
INIT_CLASS_ENTRY(ce, "Ice_UDPEndpointInfo", NULL);
#endif
@@ -350,7 +350,7 @@ IcePHP::endpointInit(TSRMLS_D)
// Register the OpaqueEndpointInfo class.
//
#ifdef ICEPHP_USE_NAMESPACES
- INIT_NS_CLASS_ENTRY(ce, STRCAST("Ice"), STRCAST("OpaqueEndpointInfo"), NULL);
+ INIT_NS_CLASS_ENTRY(ce, "Ice", "OpaqueEndpointInfo", NULL);
#else
INIT_CLASS_ENTRY(ce, "Ice_OpaqueEndpointInfo", NULL);
#endif