1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
--- php/src/IcePHP/Connection.cpp.orig 2013-06-02 11:48:58.022196354 +0000
+++ php/src/IcePHP/Connection.cpp 2013-06-02 11:50:59.494195380 +0000
@@ -360,7 +360,7 @@
//
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 @@
// 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 @@
// 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 @@
// 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 @@
// 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
|