X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-pq;a=blobdiff_plain;f=src%2Fphp_pqconn.h;h=3a26a5a291a894ee88decbf22c94393354248287;hp=0514e0a6cda6447ce0e9e46964f746adf318c12a;hb=b9f66d2b7378c40f85111ef57e9b0922789f77df;hpb=6e28a8741be3fccdaca960e492c31bc26837a4ed diff --git a/src/php_pqconn.h b/src/php_pqconn.h index 0514e0a..3a26a5a 100644 --- a/src/php_pqconn.h +++ b/src/php_pqconn.h @@ -18,7 +18,9 @@ #define PHP_PQCONN_PERSISTENT 0x02 #include +#include "php_pq_object.h" #include "php_pq_callback.h" +#include "php_pq_object.h" #include "php_pq_params.h" typedef struct php_pqconn { @@ -38,9 +40,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 {