Commit e6196a35 authored by Frederick Zhang's avatar Frederick Zhang

fetch_bnode_object_data

parent 71d8f16f
......@@ -54,6 +54,9 @@ public:
ZVAL_OBJ(new_object, Z_OBJ_P(object)->handlers->clone_obj(object));
return Z_OBJ_P(new_object);
}
static bitem * fetch_bnode_object_data(zend_object *obj) {
return (bitem *)(*((size_t *)((char *)obj - sizeof(size_t))));
}
};
#endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment