From 8897b5a581a86279a2ee371784b6b7670c8b8cc1 Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Mon, 14 Jan 2019 15:03:11 +0100 Subject: [PATCH] fix master compatibility --- src/php_pqcancel.c | 2 +- src/php_pqconn.c | 2 +- src/php_pqcopy.c | 2 +- src/php_pqcur.c | 2 +- src/php_pqlob.c | 2 +- src/php_pqstm.c | 2 +- src/php_pqtxn.c | 2 +- src/php_pqtypes.c | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/php_pqcancel.c b/src/php_pqcancel.c index 400e007..edf8b10 100644 --- a/src/php_pqcancel.c +++ b/src/php_pqcancel.c @@ -130,7 +130,7 @@ static PHP_METHOD(pqcancel, cancel) { } static zend_function_entry php_pqcancel_methods[] = { - PHP_ME(pqcancel, __construct, ai_pqcancel_construct, ZEND_ACC_PUBLIC|ZEND_ACC_CTOR) + PHP_ME(pqcancel, __construct, ai_pqcancel_construct, ZEND_ACC_PUBLIC) PHP_ME(pqcancel, cancel, ai_pqcancel_cancel, ZEND_ACC_PUBLIC) {0} }; diff --git a/src/php_pqconn.c b/src/php_pqconn.c index f66ae0c..9b507b6 100644 --- a/src/php_pqconn.c +++ b/src/php_pqconn.c @@ -1947,7 +1947,7 @@ static PHP_METHOD(pqconn, unsetConverter) { } static zend_function_entry php_pqconn_methods[] = { - PHP_ME(pqconn, __construct, ai_pqconn_construct, ZEND_ACC_PUBLIC|ZEND_ACC_CTOR) + PHP_ME(pqconn, __construct, ai_pqconn_construct, ZEND_ACC_PUBLIC) PHP_ME(pqconn, reset, ai_pqconn_reset, ZEND_ACC_PUBLIC) PHP_ME(pqconn, resetAsync, ai_pqconn_reset_async, ZEND_ACC_PUBLIC) PHP_ME(pqconn, poll, ai_pqconn_poll, ZEND_ACC_PUBLIC) diff --git a/src/php_pqcopy.c b/src/php_pqcopy.c index 1b3a3aa..e945679 100644 --- a/src/php_pqcopy.c +++ b/src/php_pqcopy.c @@ -293,7 +293,7 @@ static PHP_METHOD(pqcopy, get) { } static zend_function_entry php_pqcopy_methods[] = { - PHP_ME(pqcopy, __construct, ai_pqcopy_construct, ZEND_ACC_PUBLIC|ZEND_ACC_CTOR) + PHP_ME(pqcopy, __construct, ai_pqcopy_construct, ZEND_ACC_PUBLIC) PHP_ME(pqcopy, put, ai_pqcopy_put, ZEND_ACC_PUBLIC) PHP_ME(pqcopy, end, ai_pqcopy_end, ZEND_ACC_PUBLIC) PHP_ME(pqcopy, get, ai_pqcopy_get, ZEND_ACC_PUBLIC) diff --git a/src/php_pqcur.c b/src/php_pqcur.c index 682b78a..9989533 100644 --- a/src/php_pqcur.c +++ b/src/php_pqcur.c @@ -400,7 +400,7 @@ static PHP_METHOD(pqcur, moveAsync) } static zend_function_entry php_pqcur_methods[] = { - PHP_ME(pqcur, __construct, ai_pqcur___construct, ZEND_ACC_PUBLIC|ZEND_ACC_CTOR) + PHP_ME(pqcur, __construct, ai_pqcur___construct, ZEND_ACC_PUBLIC) PHP_ME(pqcur, open, ai_pqcur_open, ZEND_ACC_PUBLIC) PHP_ME(pqcur, openAsync, ai_pqcur_openAsync, ZEND_ACC_PUBLIC) PHP_ME(pqcur, close, ai_pqcur_close, ZEND_ACC_PUBLIC) diff --git a/src/php_pqlob.c b/src/php_pqlob.c index b5cbf5c..5d1f6ba 100644 --- a/src/php_pqlob.c +++ b/src/php_pqlob.c @@ -423,7 +423,7 @@ static PHP_METHOD(pqlob, truncate) { } static zend_function_entry php_pqlob_methods[] = { - PHP_ME(pqlob, __construct, ai_pqlob_construct, ZEND_ACC_PUBLIC|ZEND_ACC_CTOR) + PHP_ME(pqlob, __construct, ai_pqlob_construct, ZEND_ACC_PUBLIC) PHP_ME(pqlob, write, ai_pqlob_write, ZEND_ACC_PUBLIC) PHP_ME(pqlob, read, ai_pqlob_read, ZEND_ACC_PUBLIC) PHP_ME(pqlob, seek, ai_pqlob_seek, ZEND_ACC_PUBLIC) diff --git a/src/php_pqstm.c b/src/php_pqstm.c index 9e927dc..a5caa1b 100644 --- a/src/php_pqstm.c +++ b/src/php_pqstm.c @@ -459,7 +459,7 @@ static PHP_METHOD(pqstm, prepareAsync) } static zend_function_entry php_pqstm_methods[] = { - PHP_ME(pqstm, __construct, ai_pqstm_construct, ZEND_ACC_PUBLIC|ZEND_ACC_CTOR) + PHP_ME(pqstm, __construct, ai_pqstm_construct, ZEND_ACC_PUBLIC) PHP_ME(pqstm, bind, ai_pqstm_bind, ZEND_ACC_PUBLIC) PHP_ME(pqstm, deallocate, ai_pqstm_deallocate, ZEND_ACC_PUBLIC) PHP_ME(pqstm, deallocateAsync, ai_pqstm_deallocate_async, ZEND_ACC_PUBLIC) diff --git a/src/php_pqtxn.c b/src/php_pqtxn.c index 9a97a8f..70b7ec9 100644 --- a/src/php_pqtxn.c +++ b/src/php_pqtxn.c @@ -843,7 +843,7 @@ static PHP_METHOD(pqtxn, exportLOB) { } static zend_function_entry php_pqtxn_methods[] = { - PHP_ME(pqtxn, __construct, ai_pqtxn_construct, ZEND_ACC_PUBLIC|ZEND_ACC_CTOR) + PHP_ME(pqtxn, __construct, ai_pqtxn_construct, ZEND_ACC_PUBLIC) PHP_ME(pqtxn, commit, ai_pqtxn_commit, ZEND_ACC_PUBLIC) PHP_ME(pqtxn, rollback, ai_pqtxn_rollback, ZEND_ACC_PUBLIC) PHP_ME(pqtxn, commitAsync, ai_pqtxn_commit_async, ZEND_ACC_PUBLIC) diff --git a/src/php_pqtypes.c b/src/php_pqtypes.c index f515f0f..e1d22ad 100644 --- a/src/php_pqtypes.c +++ b/src/php_pqtypes.c @@ -271,7 +271,7 @@ static PHP_METHOD(pqtypes, refresh) { } static zend_function_entry php_pqtypes_methods[] = { - PHP_ME(pqtypes, __construct, ai_pqtypes_construct, ZEND_ACC_PUBLIC|ZEND_ACC_CTOR) + PHP_ME(pqtypes, __construct, ai_pqtypes_construct, ZEND_ACC_PUBLIC) PHP_ME(pqtypes, refresh, ai_pqtypes_refresh, ZEND_ACC_PUBLIC) {0} };