X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-pq;a=blobdiff_plain;f=src%2Fphp_pqtxn.h;h=82e497018b1974c645e45c9158536363a924f105;hp=0c8fd868deadb0013d8faf9257cf754b987615c2;hb=7ebb278e7854e8dd7c4fd6c0363531642d135676;hpb=967ea1785859c49a27c51c110839ea3296a020f4 diff --git a/src/php_pqtxn.h b/src/php_pqtxn.h index 0c8fd86..82e4970 100644 --- a/src/php_pqtxn.h +++ b/src/php_pqtxn.h @@ -32,16 +32,13 @@ typedef struct php_pqtxn { } php_pqtxn_t; typedef struct php_pqtxn_object { - zend_object zo; - zend_object_value zv; - HashTable *prophandler; - php_pqtxn_t *intern; + PHP_PQ_OBJ_DECL(php_pqtxn_t *) } php_pqtxn_object_t; extern const char *php_pq_isolation_level(long *isolation); extern zend_class_entry *php_pqtxn_class_entry; -extern zend_object_value php_pqtxn_create_object_ex(zend_class_entry *ce, php_pqtxn_t *intern, php_pqtxn_object_t **ptr TSRMLS_DC); +extern php_pqtxn_object_t *php_pqtxn_create_object_ex(zend_class_entry *ce, php_pqtxn_t *intern); extern PHP_MINIT_FUNCTION(pqtxn); extern PHP_MSHUTDOWN_FUNCTION(pqtxn);