X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-pq;a=blobdiff_plain;f=src%2Fphp_pqlob.h;h=fc7fa137de28f8d86c1a0f3a2f6db9757df8816e;hp=98c8a9497ad5aea00b9670b3dee97f87514bbf08;hb=refs%2Fheads%2Ffix-19;hpb=a5470139f5305341fca92f942852d1ae18b254ea diff --git a/src/php_pqlob.h b/src/php_pqlob.h index 98c8a94..fc7fa13 100644 --- a/src/php_pqlob.h +++ b/src/php_pqlob.h @@ -19,19 +19,16 @@ typedef struct php_pqlob { int lofd; Oid loid; - int stream; + php_stream *stream; php_pqtxn_object_t *txn; } php_pqlob_t; typedef struct php_pqlob_object { - zend_object zo; - zend_object_value zv; - HashTable *prophandler; - php_pqlob_t *intern; + PHP_PQ_OBJ_DECL(php_pqlob_t *) } php_pqlob_object_t; extern zend_class_entry *php_pqlob_class_entry; -extern zend_object_value php_pqlob_create_object_ex(zend_class_entry *ce, php_pqlob_t *intern, php_pqlob_object_t **ptr TSRMLS_DC); +extern php_pqlob_object_t *php_pqlob_create_object_ex(zend_class_entry *ce, php_pqlob_t *intern); extern PHP_MINIT_FUNCTION(pqlob); extern PHP_MSHUTDOWN_FUNCTION(pqlob);