X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;ds=sidebyside;f=src%2Fphp_pqconn.h;h=65c1278e133a67a66a8963a611c2490104cf5ab7;hb=9e4e6b948aa03c04e66e808efa6a3522b92449d8;hp=0514e0a6cda6447ce0e9e46964f746adf318c12a;hpb=6e28a8741be3fccdaca960e492c31bc26837a4ed;p=m6w6%2Fext-pq diff --git a/src/php_pqconn.h b/src/php_pqconn.h index 0514e0a..65c1278 100644 --- a/src/php_pqconn.h +++ b/src/php_pqconn.h @@ -18,6 +18,7 @@ #define PHP_PQCONN_PERSISTENT 0x02 #include +#include "php_pq_object.h" #include "php_pq_callback.h" #include "php_pq_params.h" @@ -38,9 +39,7 @@ typedef struct php_pqconn { } php_pqconn_t; typedef struct php_pqconn_object { - php_pqconn_t *intern; - HashTable *prophandler; - zend_object zo; + PHP_PQ_OBJ_DECL(php_pqconn_t *) } php_pqconn_object_t; typedef struct php_pqconn_resource_factory_data {