X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-pq;a=blobdiff_plain;f=src%2Fphp_pqcancel.c;h=9711190c8686daf73be9e75aff94fcddea5a88a4;hp=0edcddeddcd034aa677f9b78ce31852b11546a84;hb=cffcf8e687650733164a8baa53d04dea98ee6ca7;hpb=f75655ac7742fdd5c5e6968477d216b1b892475b diff --git a/src/php_pqcancel.c b/src/php_pqcancel.c index 0edcdde..9711190 100644 --- a/src/php_pqcancel.c +++ b/src/php_pqcancel.c @@ -85,7 +85,7 @@ ZEND_END_ARG_INFO(); static PHP_METHOD(pqcancel, __construct) { zend_error_handling zeh; zval *zconn; - STATUS rv; + ZEND_RESULT_CODE rv; zend_replace_error_handling(EH_THROW, exce(EX_INVALID_ARGUMENT), &zeh TSRMLS_CC); rv = zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "O", &zconn, php_pqconn_class_entry); @@ -117,7 +117,7 @@ ZEND_BEGIN_ARG_INFO_EX(ai_pqcancel_cancel, 0, 0, 0) ZEND_END_ARG_INFO(); static PHP_METHOD(pqcancel, cancel) { zend_error_handling zeh; - STATUS rv; + ZEND_RESULT_CODE rv; zend_replace_error_handling(EH_THROW, exce(EX_INVALID_ARGUMENT), &zeh TSRMLS_CC); rv = zend_parse_parameters_none();