diff options
author | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2015-01-15 16:34:14 +0100 |
---|---|---|
committer | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2015-01-15 16:34:14 +0100 |
commit | d87b3ca8f1dbcb395f2dfd6540483da7a0e5e15c (patch) | |
tree | 6dd3179162d5cecc474fc9028039bd757f6df04b /zend/includes.h | |
parent | d8fe9239959dfeae11daa5de70126e30119d3b75 (diff) |
Added the Php::Function class. This is an extension to the Php::Value class that can be used if you want to assign a std::function object to a Value. This is useful if you want to pass a C++ lambda to a PHP userspace function
Diffstat (limited to 'zend/includes.h')
-rw-r--r-- | zend/includes.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/zend/includes.h b/zend/includes.h index 1552778..83b1086 100644 --- a/zend/includes.h +++ b/zend/includes.h @@ -82,6 +82,7 @@ #include "../include/call.h" #include "../include/script.h" #include "../include/file.h" +#include "../include/function.h" /** * Common header files for internal use only @@ -94,7 +95,7 @@ */ #include "init.h" #include "callable.h" -#include "function.h" +#include "nativefunction.h" #include "method.h" #include "member.h" #include "nullmember.h" @@ -118,6 +119,7 @@ #include "compileroptions.h" #include "executestate.h" #include "opcodes.h" +#include "functor.h" #ifndef ZVAL_COPY_VALUE #define ZVAL_COPY_VALUE(z, v) \ |