summaryrefslogtreecommitdiff
path: root/include/call.h
diff options
context:
space:
mode:
authorEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2014-07-26 13:39:16 +0200
committerEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2014-07-26 13:39:16 +0200
commit340b05438b13fbe7cd937835e1abe935967330d3 (patch)
tree36099ce148c3278c10d4e203769818b16a7150fc /include/call.h
parentff83769a9d5fc2f0f88cd42bdb3355f509294ad9 (diff)
renamed fastcall.cpp to eval.cpp, and moved the Php::eval() definition to the call.h header file
Diffstat (limited to 'include/call.h')
-rw-r--r--include/call.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/call.h b/include/call.h
index 16de1fe..05c5955 100644
--- a/include/call.h
+++ b/include/call.h
@@ -13,6 +13,11 @@
namespace Php {
/**
+ * List of functions that are available for use in PHP
+ */
+Value eval(const std::string &phpCode);
+
+/**
* Call a function in PHP
* @param name Name of the function to call
* @param params Variable number of parameters