summaryrefslogtreecommitdiff
path: root/src/callable.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/callable.cpp')
-rw-r--r--src/callable.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/callable.cpp b/src/callable.cpp
index e68ab98..55f2833 100644
--- a/src/callable.cpp
+++ b/src/callable.cpp
@@ -35,7 +35,7 @@ static void invoke_callable(INTERNAL_FUNCTION_PARAMETERS)
Value result(return_value, true);
// construct parameters
- Parameters params(this_ptr, ZEND_NUM_ARGS());
+ Parameters params(this_ptr, ZEND_NUM_ARGS() TSRMLS_CC);
// the function could throw an exception
try
@@ -46,7 +46,7 @@ static void invoke_callable(INTERNAL_FUNCTION_PARAMETERS)
catch (Exception &exception)
{
// process the exception
- exception.process();
+ exception.process(TSRMLS_C);
}
}