diff options
author | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2014-03-24 13:43:47 +0100 |
---|---|---|
committer | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2014-03-24 13:43:47 +0100 |
commit | 2fd4198b78358cf2ba527296fafb5b1728e28ea8 (patch) | |
tree | 798098f25293908c7fae4e35e8761918460cdb3e /src/exception.cpp | |
parent | 930ab4880b65885322eb7ca4772b8cdb49a2b0ae (diff) |
added tsrm parameter to all methods to make it compile on tsrm platforms
Diffstat (limited to 'src/exception.cpp')
-rw-r--r-- | src/exception.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
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); } /** |