summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorToon Schoenmakers <toon.schoenmakers@copernica.com>2015-03-13 11:55:14 +0100
committerToon Schoenmakers <toon.schoenmakers@copernica.com>2015-03-13 11:55:14 +0100
commitaa53d52798687aa884e5b95d36a013f33c694eaf (patch)
tree2dd4bda01ae549131fccfae2f230a5a2daf1b78a /include
parent1c979ff4204876698426b95f11636a7668a8932b (diff)
Implemented a simple sapi_name() method which will return the current sapi
Diffstat (limited to 'include')
-rw-r--r--include/call.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/call.h b/include/call.h
index 53030d2..e339ece 100644
--- a/include/call.h
+++ b/include/call.h
@@ -46,6 +46,7 @@ extern Value require(const char *filename);
inline Value require(const std::string &filename) { return require(filename.c_str()); }
extern Value require_once(const char *filename);
inline Value require_once(const std::string &filename) { return require_once(filename.c_str()); }
+extern const char *sapi_name();
/**
* Call a function in PHP