From 2fd4198b78358cf2ba527296fafb5b1728e28ea8 Mon Sep 17 00:00:00 2001 From: Emiel Bruijntjes Date: Mon, 24 Mar 2014 13:43:47 +0100 Subject: added tsrm parameter to all methods to make it compile on tsrm platforms --- src/exception.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/exception.cpp') diff --git a/src/exception.cpp b/src/exception.cpp index 83c1d12..d409e1a 100644 --- a/src/exception.cpp +++ b/src/exception.cpp @@ -18,11 +18,13 @@ namespace Php { * * This method is called only from withing the PHP-CPP library, * and will turn the exception into a PHP exception + * + * @param tsrm_ls */ -void Exception::process() +void Exception::process(TSRMLS_D) { // an exception originally thrown by C++ should be passed on to PHP - zend_throw_exception(zend_exception_get_default(), (char*)message().c_str(), 0 TSRMLS_CC); + zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*)message().c_str(), 0 TSRMLS_CC); } /** -- cgit v1.2.3