diff options
author | Dmitry Stogov <dmitry@zend.com> | 2019-01-31 18:47:58 +0300 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2019-02-04 13:20:25 +0300 |
commit | 91ef4124e56a8ec52078bdcb5547ea5dbf654566 (patch) | |
tree | 14285f0ab29d8274b8aeb7003ca7d0c77bbd604f /ext/standard/php_incomplete_class.h | |
parent | 0476d558272c18778f95c0368e18108771a63d99 (diff) | |
download | php-git-91ef4124e56a8ec52078bdcb5547ea5dbf654566.tar.gz |
Refactor zend_object_handlers API to pass zend_object* and zend_string* insted of zval(s).
Diffstat (limited to 'ext/standard/php_incomplete_class.h')
-rw-r--r-- | ext/standard/php_incomplete_class.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/standard/php_incomplete_class.h b/ext/standard/php_incomplete_class.h index d768f25bdb..eeb4461965 100644 --- a/ext/standard/php_incomplete_class.h +++ b/ext/standard/php_incomplete_class.h @@ -27,7 +27,7 @@ #define PHP_SET_CLASS_ATTRIBUTES(struc) \ /* OBJECTS_FIXME: Fix for new object model */ \ if (Z_OBJCE_P(struc) == BG(incomplete_class)) { \ - class_name = php_lookup_class_name(struc); \ + class_name = php_lookup_class_name(Z_OBJ_P(struc)); \ if (!class_name) { \ class_name = zend_string_init(INCOMPLETE_CLASS, sizeof(INCOMPLETE_CLASS) - 1, 0); \ } \ @@ -51,7 +51,7 @@ extern "C" { #endif PHPAPI zend_class_entry *php_create_incomplete_class(void); -PHPAPI zend_string *php_lookup_class_name(zval *object); +PHPAPI zend_string *php_lookup_class_name(zend_object *object); PHPAPI void php_store_class_name(zval *object, const char *name, size_t len); #ifdef __cplusplus |