diff options
author | Nikita Popov <nikic@php.net> | 2014-09-16 00:23:58 +0200 |
---|---|---|
committer | Nikita Popov <nikic@php.net> | 2014-09-16 00:31:27 +0200 |
commit | 079409bbc232f16fd446935a2103ece9d12082ed (patch) | |
tree | be7eb6a3115cbf6b279ea67652697eb62fe792b0 /Zend/zend_compile.h | |
parent | 69917807939170c5a5e0ec6da1c7f9dd9633c6ae (diff) | |
download | php-git-079409bbc232f16fd446935a2103ece9d12082ed.tar.gz |
Switch (un)mangle property name to size_t and zend_string
Also use the _ex variants where possible.
Diffstat (limited to 'Zend/zend_compile.h')
-rw-r--r-- | Zend/zend_compile.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Zend/zend_compile.h b/Zend/zend_compile.h index 4b20b54bba..8cbe465c14 100644 --- a/Zend/zend_compile.h +++ b/Zend/zend_compile.h @@ -499,10 +499,10 @@ ZEND_API void zend_function_dtor(zval *zv); ZEND_API void destroy_zend_class(zval *zv); void zend_class_add_ref(zval *zv); -ZEND_API zend_string *zend_mangle_property_name(const char *src1, int src1_length, const char *src2, int src2_length, int internal); -#define zend_unmangle_property_name(mangled_property, mangled_property_len, class_name, prop_name) \ - zend_unmangle_property_name_ex(mangled_property, mangled_property_len, class_name, prop_name, NULL) -ZEND_API int zend_unmangle_property_name_ex(const char *mangled_property, int mangled_property_len, const char **class_name, const char **prop_name, int *prop_len); +ZEND_API zend_string *zend_mangle_property_name(const char *src1, size_t src1_length, const char *src2, size_t src2_length, int internal); +#define zend_unmangle_property_name(mangled_property, class_name, prop_name) \ + zend_unmangle_property_name_ex(mangled_property, class_name, prop_name, NULL) +ZEND_API int zend_unmangle_property_name_ex(const zend_string *name, const char **class_name, const char **prop_name, size_t *prop_len); #define ZEND_FUNCTION_DTOR zend_function_dtor #define ZEND_CLASS_DTOR destroy_zend_class |