summaryrefslogtreecommitdiff
path: root/src/classbase.cpp
diff options
context:
space:
mode:
authorEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2014-03-03 18:03:39 +0100
committerEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2014-03-03 18:03:39 +0100
commit70986b4bcdf7793c4bb8a4e14d91e6531c95f651 (patch)
tree3009209b9fbcb3d51bc117061a766341c8a71a24 /src/classbase.cpp
parent8f24af4c28e74ef1769aef6ab00c480e09be7453 (diff)
work in progress for support for creating object instances
Diffstat (limited to 'src/classbase.cpp')
-rw-r--r--src/classbase.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/classbase.cpp b/src/classbase.cpp
index c7ade6c..af707c4 100644
--- a/src/classbase.cpp
+++ b/src/classbase.cpp
@@ -57,7 +57,7 @@ static zend_object_value create_object(zend_class_entry *type TSRMLS_DC)
// allocate memory for the object
MixedObject *object = (MixedObject *)emalloc(sizeof(MixedObject));
- // find base object
+ // find base object (because the class may have been extended in user space)
zend_class_entry *base = type;
while (base->parent) base = base->parent;