X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-pq;a=blobdiff_plain;f=src%2Fphp_pqlob.h;h=c56049de045e12a45d7d2bc8b9a65f3607adc26e;hp=98c8a9497ad5aea00b9670b3dee97f87514bbf08;hb=6e28a8741be3fccdaca960e492c31bc26837a4ed;hpb=bffdeef967c851f5046a1dbed426f45611e507d0 diff --git a/src/php_pqlob.h b/src/php_pqlob.h index 98c8a94..c56049d 100644 --- a/src/php_pqlob.h +++ b/src/php_pqlob.h @@ -19,19 +19,18 @@ 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; + HashTable *prophandler; + zend_object zo; } 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);