summaryrefslogtreecommitdiff
path: root/phpcpp.h
diff options
context:
space:
mode:
authorEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2015-01-15 16:34:14 +0100
committerEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2015-01-15 16:34:14 +0100
commitd87b3ca8f1dbcb395f2dfd6540483da7a0e5e15c (patch)
tree6dd3179162d5cecc474fc9028039bd757f6df04b /phpcpp.h
parentd8fe9239959dfeae11daa5de70126e30119d3b75 (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 'phpcpp.h')
-rw-r--r--phpcpp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/phpcpp.h b/phpcpp.h
index 48db1c7..231e112 100644
--- a/phpcpp.h
+++ b/phpcpp.h
@@ -63,6 +63,7 @@
#include <phpcpp/call.h>
#include <phpcpp/script.h>
#include <phpcpp/file.h>
+#include <phpcpp/function.h>
/**
* Macro to export a function