summaryrefslogtreecommitdiff
path: root/src/classbase.cpp
diff options
context:
space:
mode:
authorEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2014-03-02 12:00:11 +0100
committerEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2014-03-02 12:00:11 +0100
commit41bd759f31d625b5f73dd3a31d76a91efbde8ad7 (patch)
treeb995cc0c295c031c6cf130fe0f4f51b286a0511e /src/classbase.cpp
parent52fe0c39457421e075959179ee6b64a20b96f0d9 (diff)
working implementation for Base::value()
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 39c8790..6a679b3 100644
--- a/src/classbase.cpp
+++ b/src/classbase.cpp
@@ -100,7 +100,7 @@ static zend_object_value create_object(zend_class_entry *type TSRMLS_DC)
result.handle = zend_objects_store_put(object, NULL, deallocate_object, clone_object TSRMLS_CC);
// finally, construct the cpp object
- object->cpp = info->construct();
+ object->cpp = info->construct(&object->php);
// done
return result;