diff options
Diffstat (limited to 'ext/standard/php_incomplete_class.h')
-rw-r--r-- | ext/standard/php_incomplete_class.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/ext/standard/php_incomplete_class.h b/ext/standard/php_incomplete_class.h index 03bd1daaca..c2cda0d6f0 100644 --- a/ext/standard/php_incomplete_class.h +++ b/ext/standard/php_incomplete_class.h @@ -19,12 +19,13 @@ #include "ext/standard/basic_functions.h" -#define PHP_IC_ENTRY \ - BG(incomplete_class) +extern PHPAPI zend_class_entry *php_ce_incomplete_class; + +#define PHP_IC_ENTRY php_ce_incomplete_class #define PHP_SET_CLASS_ATTRIBUTES(struc) \ /* OBJECTS_FIXME: Fix for new object model */ \ - if (Z_OBJCE_P(struc) == BG(incomplete_class)) { \ + if (Z_OBJCE_P(struc) == php_ce_incomplete_class) { \ 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); \ @@ -48,7 +49,7 @@ extern "C" { #endif -PHPAPI zend_class_entry *php_create_incomplete_class(void); +PHPAPI void php_register_incomplete_class(void); PHPAPI zend_string *php_lookup_class_name(zend_object *object); PHPAPI void php_store_class_name(zval *object, const char *name, size_t len); |