X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-pq;a=blobdiff_plain;f=src%2Fphp_pqtypes.h;h=9e9d6d65bdebecc181b3f1f9bb5a14804d250f51;hp=8a551b104b151c9bcc601d054e708fbc8f8e563f;hb=refs%2Fheads%2Ffix-19;hpb=a5470139f5305341fca92f942852d1ae18b254ea diff --git a/src/php_pqtypes.h b/src/php_pqtypes.h index 8a551b1..9e9d6d6 100644 --- a/src/php_pqtypes.h +++ b/src/php_pqtypes.h @@ -22,14 +22,11 @@ typedef struct php_pqtypes { } php_pqtypes_t; typedef struct php_pqtypes_object { - zend_object zo; - zend_object_value zv; - HashTable *prophandler; - php_pqtypes_t *intern; + PHP_PQ_OBJ_DECL(php_pqtypes_t *) } php_pqtypes_object_t; extern zend_class_entry *php_pqtypes_class_entry; -extern zend_object_value php_pqtypes_create_object_ex(zend_class_entry *ce, php_pqtypes_t *intern, php_pqtypes_object_t **ptr TSRMLS_DC); +extern php_pqtypes_object_t *php_pqtypes_create_object_ex(zend_class_entry *ce, php_pqtypes_t *intern); extern PHP_MINIT_FUNCTION(pqtypes); extern PHP_MSHUTDOWN_FUNCTION(pqtypes);