X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-pq;a=blobdiff_plain;f=src%2Fphp_pqtypes.h;h=9e9d6d65bdebecc181b3f1f9bb5a14804d250f51;hp=0686e5d2202a1fed0269314963bb8730dd7d6b1f;hb=refs%2Fheads%2Ffix-19;hpb=88440266c0a9fa8354688b5ed0d2a6cc3bf04db5 diff --git a/src/php_pqtypes.h b/src/php_pqtypes.h index 0686e5d..9e9d6d6 100644 --- a/src/php_pqtypes.h +++ b/src/php_pqtypes.h @@ -22,17 +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); -PHP_MSHUTDOWN_FUNCTION(pqtypes); +extern PHP_MINIT_FUNCTION(pqtypes); +extern PHP_MSHUTDOWN_FUNCTION(pqtypes); #endif