diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/call.h | 1 | ||||
-rw-r--r-- | include/value.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/include/call.h b/include/call.h index f26fd29..80b3c74 100644 --- a/include/call.h +++ b/include/call.h @@ -47,6 +47,7 @@ inline PHPCPP_EXPORT Value require(const std::string &filename) { return requ extern PHPCPP_EXPORT Value require_once(const char *filename); inline PHPCPP_EXPORT Value require_once(const std::string &filename) { return require_once(filename.c_str()); } extern PHPCPP_EXPORT Value set_exception_handler(const std::function<Value(Parameters ¶ms)> &handler); +extern PHPCPP_EXPORT Value set_error_handler(const std::function<Value(Parameters ¶ms)> &handler); extern PHPCPP_EXPORT const char *sapi_name(); /** diff --git a/include/value.h b/include/value.h index 5b746a1..bfd8e40 100644 --- a/include/value.h +++ b/include/value.h @@ -1215,6 +1215,7 @@ protected: * Friend functions which have to access that zval directly */ friend Value set_exception_handler(const std::function<Value(Parameters ¶ms)> &handler); + friend Value set_error_handler(const std::function<Value(Parameters ¶ms)> &handler); }; /** |