summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2014-07-26 15:21:33 +0200
committerEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2014-07-26 15:21:33 +0200
commit8e089ea9174ca133f938bdb16ef14e7a1027ccaf (patch)
tree28116cf52af932ef3783f66bc346b0b719926adb /include
parentfe19521099b620869c5dbbe64b2ddf9aeddcbe51 (diff)
compile issues
Diffstat (limited to 'include')
-rw-r--r--include/call.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/call.h b/include/call.h
index 80ef6c9..e1bb12d 100644
--- a/include/call.h
+++ b/include/call.h
@@ -15,10 +15,10 @@ namespace Php {
/**
* List of functions that are available for use in PHP
*/
-bool class_exists(const char *classname, size_t size, bool autoload = true);
-bool class_exists(const char *classname, bool autoload = true) { return class_exists(classname, strlen(classname), autoload); }
-bool class_exists(const std::string &classname, bool autoload = true) { return class_exists(classname.c_str(), classname.size(), autoload); }
-Value eval(const std::string &phpCode);
+extern bool class_exists(const char *classname, size_t size, bool autoload = true);
+inline bool class_exists(const char *classname, bool autoload = true) { return class_exists(classname, strlen(classname), autoload); }
+inline bool class_exists(const std::string &classname, bool autoload = true) { return class_exists(classname.c_str(), classname.size(), autoload); }
+extern Value eval(const std::string &phpCode);
/**
* Call a function in PHP