X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-pq;a=blobdiff_plain;f=src%2Fphp_pqtypes.h;h=9e9d6d65bdebecc181b3f1f9bb5a14804d250f51;hp=55398f5632bde8aef4eaf352949ada9fa82efc5d;hb=1e1d31873ad4283bd9acc3349107585f88161ea2;hpb=9f5cecf26bd70a92ed013f31afec59e272623ac1 diff --git a/src/php_pqtypes.h b/src/php_pqtypes.h index 55398f5..9e9d6d6 100644 --- a/src/php_pqtypes.h +++ b/src/php_pqtypes.h @@ -22,16 +22,14 @@ 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; -zend_class_entry *php_pqtypes_class_entry; -zend_object_value php_pqtypes_create_object_ex(zend_class_entry *ce, php_pqtypes_t *intern, php_pqtypes_object_t **ptr TSRMLS_DC); +extern zend_class_entry *php_pqtypes_class_entry; +extern php_pqtypes_object_t *php_pqtypes_create_object_ex(zend_class_entry *ce, php_pqtypes_t *intern); -PHP_MINIT_FUNCTION(pqtypes); +extern PHP_MINIT_FUNCTION(pqtypes); +extern PHP_MSHUTDOWN_FUNCTION(pqtypes); #endif