X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-pq;a=blobdiff_plain;f=src%2Fphp_pqres.h;h=cc20ddbbc764e15524f71e0f494b40ac21c84611;hp=acc03ccabd357e5a4d536856f239c5236be4eb3b;hb=8d0dbf7286d9132be18de64625837afa55409f84;hpb=7588300a5fb0ed9dcc8cf534f0e5ffa94b07c7e4 diff --git a/src/php_pqres.h b/src/php_pqres.h index acc03cc..cc20ddb 100644 --- a/src/php_pqres.h +++ b/src/php_pqres.h @@ -59,14 +59,6 @@ extern php_pqres_fetch_t php_pqres_fetch_type(php_pqres_t *res); #include "php_pq_object.h" #include "php_pqconn_event.h" -#define PHP_PQclear(_r) do { \ - php_pqres_object_t *_o = PQresultInstanceData((_r), php_pqconn_event); \ - if (_o) { \ - php_pq_object_delref(_o); \ - } else { \ - PQclear(_r); \ - } \ -} while(0) extern zend_class_entry *php_pqres_class_entry; extern php_pqres_object_t *php_pqres_create_object_ex(zend_class_entry *ce, php_pqres_t *intern);