diff options
author | Dmitry Stogov <dmitry@zend.com> | 2014-07-07 20:54:31 +0400 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2014-07-07 20:54:31 +0400 |
commit | 2ed8a170456c085491670a9beb62d4a6cac0903b (patch) | |
tree | 57b866c39321bd7e7b1a7e8efc8b70c0ff81167d /ext/snmp | |
parent | bce6a36c8a13d718cc308e4e48724c799863459a (diff) | |
download | php-git-2ed8a170456c085491670a9beb62d4a6cac0903b.tar.gz |
Refactored run_time_cache usage in object handlers
Diffstat (limited to 'ext/snmp')
-rw-r--r-- | ext/snmp/snmp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/snmp/snmp.c b/ext/snmp/snmp.c index 3fa7583031..3afa0af9f1 100644 --- a/ext/snmp/snmp.c +++ b/ext/snmp/snmp.c @@ -1975,7 +1975,7 @@ void php_snmp_add_property(HashTable *h, const char *name, size_t name_length, p /* {{{ php_snmp_read_property(zval *object, zval *member, int type[, const zend_literal *key]) Generic object property reader */ -zval *php_snmp_read_property(zval *object, zval *member, int type, zend_uint cache_slot, zval *rv TSRMLS_DC) +zval *php_snmp_read_property(zval *object, zval *member, int type, void **cache_slot, zval *rv TSRMLS_DC) { zval tmp_member; zval *retval; @@ -2015,7 +2015,7 @@ zval *php_snmp_read_property(zval *object, zval *member, int type, zend_uint cac /* {{{ php_snmp_write_property(zval *object, zval *member, zval *value[, const zend_literal *key]) Generic object property writer */ -void php_snmp_write_property(zval *object, zval *member, zval *value, zend_uint cache_slot TSRMLS_DC) +void php_snmp_write_property(zval *object, zval *member, zval *value, void **cache_slot TSRMLS_DC) { zval tmp_member; php_snmp_object *obj; @@ -2052,7 +2052,7 @@ void php_snmp_write_property(zval *object, zval *member, zval *value, zend_uint /* {{{ php_snmp_has_property(zval *object, zval *member, int has_set_exists[, const zend_literal *key]) Generic object property checker */ -static int php_snmp_has_property(zval *object, zval *member, int has_set_exists, zend_uint cache_slot TSRMLS_DC) +static int php_snmp_has_property(zval *object, zval *member, int has_set_exists, void **cache_slot TSRMLS_DC) { zval rv; php_snmp_prop_handler *hnd; |