@@ -44,7 +44,7 @@ php_cassandra_map_set(cassandra_map* map, zval* zkey, zval* zvalue TSRMLS_DC)
4444}
4545
4646static int
47- php_cassandra_map_get (cassandra_map * map , zval * zkey , zval * * zvalue )
47+ php_cassandra_map_get (cassandra_map * map , zval * zkey , zval * * zvalue TSRMLS_DC )
4848{
4949 char * key ;
5050 int key_len ;
@@ -66,7 +66,7 @@ php_cassandra_map_get(cassandra_map* map, zval* zkey, zval** zvalue)
6666}
6767
6868static int
69- php_cassandra_map_del (cassandra_map * map , zval * zkey )
69+ php_cassandra_map_del (cassandra_map * map , zval * zkey TSRMLS_DC )
7070{
7171 char * key ;
7272 int key_len ;
@@ -87,7 +87,7 @@ php_cassandra_map_del(cassandra_map* map, zval* zkey)
8787}
8888
8989static int
90- php_cassandra_map_has (cassandra_map * map , zval * zkey )
90+ php_cassandra_map_has (cassandra_map * map , zval * zkey TSRMLS_DC )
9191{
9292 char * key ;
9393 int key_len ;
@@ -171,9 +171,9 @@ PHP_METHOD(CassandraMap, __construct)
171171
172172 map = (cassandra_map * ) zend_object_store_get_object (getThis () TSRMLS_CC );
173173
174- if (!php_cassandra_value_type (key_type , & map -> key_type ))
174+ if (!php_cassandra_value_type (key_type , & map -> key_type TSRMLS_CC ))
175175 return ;
176- php_cassandra_value_type (value_type , & map -> value_type );
176+ php_cassandra_value_type (value_type , & map -> value_type TSRMLS_CC );
177177}
178178/* }}} */
179179
@@ -235,7 +235,7 @@ PHP_METHOD(CassandraMap, get)
235235
236236 cassandra_map * map = (cassandra_map * ) zend_object_store_get_object (getThis () TSRMLS_CC );
237237
238- if (php_cassandra_map_get (map , key , & value ))
238+ if (php_cassandra_map_get (map , key , & value TSRMLS_CC ))
239239 RETURN_ZVAL (value , 1 , 0 );
240240}
241241
@@ -248,7 +248,7 @@ PHP_METHOD(CassandraMap, remove)
248248
249249 cassandra_map * map = (cassandra_map * ) zend_object_store_get_object (getThis () TSRMLS_CC );
250250
251- if (php_cassandra_map_del (map , key ))
251+ if (php_cassandra_map_del (map , key TSRMLS_CC ))
252252 RETURN_TRUE ;
253253
254254 RETURN_FALSE ;
@@ -263,7 +263,7 @@ PHP_METHOD(CassandraMap, has)
263263
264264 cassandra_map * map = (cassandra_map * ) zend_object_store_get_object (getThis () TSRMLS_CC );
265265
266- if (php_cassandra_map_has (map , key ))
266+ if (php_cassandra_map_has (map , key TSRMLS_CC ))
267267 RETURN_TRUE ;
268268
269269 RETURN_FALSE ;
@@ -336,7 +336,7 @@ PHP_METHOD(CassandraMap, offsetGet)
336336
337337 cassandra_map * map = (cassandra_map * ) zend_object_store_get_object (getThis () TSRMLS_CC );
338338
339- if (php_cassandra_map_get (map , key , & value ))
339+ if (php_cassandra_map_get (map , key , & value TSRMLS_CC ))
340340 RETURN_ZVAL (value , 1 , 0 );
341341}
342342
@@ -349,7 +349,7 @@ PHP_METHOD(CassandraMap, offsetUnset)
349349
350350 cassandra_map * map = (cassandra_map * ) zend_object_store_get_object (getThis () TSRMLS_CC );
351351
352- php_cassandra_map_del (map , key );
352+ php_cassandra_map_del (map , key TSRMLS_CC );
353353}
354354
355355PHP_METHOD (CassandraMap , offsetExists )
@@ -361,7 +361,7 @@ PHP_METHOD(CassandraMap, offsetExists)
361361
362362 cassandra_map * map = (cassandra_map * ) zend_object_store_get_object (getThis () TSRMLS_CC );
363363
364- if (php_cassandra_map_has (map , key ))
364+ if (php_cassandra_map_has (map , key TSRMLS_CC ))
365365 RETURN_TRUE ;
366366
367367 RETURN_FALSE ;
@@ -478,7 +478,7 @@ php_cassandra_map_new(zend_class_entry* class_type TSRMLS_DC)
478478 zend_hash_init (& map -> keys , 0 , NULL , ZVAL_PTR_DTOR , 0 );
479479 zend_hash_init (& map -> values , 0 , NULL , ZVAL_PTR_DTOR , 0 );
480480 zend_object_std_init (& map -> zval , class_type TSRMLS_CC );
481- object_properties_init (& map -> zval , class_type TSRMLS_CC );
481+ object_properties_init (& map -> zval , class_type );
482482
483483 retval .handle = zend_objects_store_put (map ,
484484 (zend_objects_store_dtor_t ) zend_objects_destroy_object ,
0 commit comments