summaryrefslogtreecommitdiff
path: root/include
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
parentff83769a9d5fc2f0f88cd42bdb3355f509294ad9 (diff)
renamed fastcall.cpp to eval.cpp, and moved the Php::eval() definition to the call.h header file
Diffstat (limited to 'include')
-rw-r--r--include/call.h5
-rw-r--r--include/fastcall.h13
2 files changed, 5 insertions, 13 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
diff --git a/include/fastcall.h b/include/fastcall.h
deleted file mode 100644
index 29f274d..0000000
--- a/include/fastcall.h
+++ /dev/null
@@ -1,13 +0,0 @@
-/**
- * fastcall.h
- *
- * This file holds some PHP functions implementation in C directly.
- *
- */
-
-namespace Php {
-
- Value eval(const std::string &phpCode);
-
-}
-