summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2015-02-05 22:59:15 +0100
committerEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2015-02-05 22:59:15 +0100
commit7c7121e92b3ebd2763b4b03227eeec09461d8ea9 (patch)
treed4de14152798da46907795e773feac742d27a769 /include
parentba32a85db3f1130d01ccf228e253d2e717c53c70 (diff)
refactored the initialization and shutdown of extension objects (code is moved from a static method to a real member method), and more importantly: fixed initialization of the PhpCpp::Functor class, previously, we created the class an runtime whenever we needed it, but that turned out to be a cause for crashes when php stopped, this has also been solved
Diffstat (limited to 'include')
-rw-r--r--include/class.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/class.h b/include/class.h
index 45bc236..c7ae32a 100644
--- a/include/class.h
+++ b/include/class.h
@@ -585,11 +585,11 @@ private:
/**
* Namespaces and the function have access to the private base class,
- * so that the classes can be registered (the function object needs
- * this to register the Functor class).
+ * so that the classes can be registered, and the Functor object needs
+ * this to register the PhpCpp::Functor class.
*/
friend class Namespace;
- friend class Function;
+ friend class Functor;
/**
* All Php::Class<AnyThing> also need access to the base class to