diff options
author | Toon Schoenmakers <toon.schoenmakers@copernica.com> | 2015-09-16 15:29:58 +0200 |
---|---|---|
committer | Toon Schoenmakers <toon.schoenmakers@copernica.com> | 2015-09-16 15:29:58 +0200 |
commit | 537636373c59b3ce33f15311d2bc89ce72d5cc45 (patch) | |
tree | a52ef6932895a0eb7b644d38dafdb2c26790d9c6 /zend/functor.h | |
parent | 913cc8ac69ec9cc6705b26575644e887c2dedc30 (diff) |
Added support for setting a std::function as an exception handler
This is so far only tested with php 5.5.9, might not work on versions
below that.
Diffstat (limited to 'zend/functor.h')
-rw-r--r-- | zend/functor.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/zend/functor.h b/zend/functor.h index 503a05c..5458027 100644 --- a/zend/functor.h +++ b/zend/functor.h @@ -29,12 +29,12 @@ public: * @param function The function to wrap */ Functor(const std::function<Value(Parameters ¶ms)> &function) : _function(function) {} - + /** * Destructor */ virtual ~Functor() {} - + /** * Invoke the functor * @param params @@ -61,7 +61,7 @@ public: * @param tsrmls */ static void initialize(TSRMLS_D); - + /** * Shutdown the class * @param tsrmls @@ -80,7 +80,7 @@ private: * @var zend_class_entry */ static zend_class_entry *_entry; - + }; /** |