X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-pq;a=blobdiff_plain;f=src%2Fphp_pqcancel.h;h=fb0a69eb84f65f1d6c6f81853967ddab66602b56;hp=2f2d185aa546684ad499b5c60b9d47c5794f80b6;hb=c42b1975b4e9de8abac3a1b20985d0851a85865f;hpb=88440266c0a9fa8354688b5ed0d2a6cc3bf04db5 diff --git a/src/php_pqcancel.h b/src/php_pqcancel.h index 2f2d185..fb0a69e 100644 --- a/src/php_pqcancel.h +++ b/src/php_pqcancel.h @@ -22,17 +22,14 @@ typedef struct php_pqcancel { } php_pqcancel_t; typedef struct php_pqcancel_object { - zend_object zo; - zend_object_value zv; - HashTable *prophandler; - php_pqcancel_t *intern; + PHP_PQ_OBJ_DECL(php_pqcancel_t *) } php_pqcancel_object_t; -zend_class_entry *php_pqcancel_class_entry; -zend_object_value php_pqcancel_create_object_ex(zend_class_entry *ce, php_pqcancel_t *intern, php_pqcancel_object_t **ptr TSRMLS_DC); +extern zend_class_entry *php_pqcancel_class_entry; +extern php_pqcancel_object_t *php_pqcancel_create_object_ex(zend_class_entry *ce, php_pqcancel_t *intern); -PHP_MINIT_FUNCTION(pqcancel); -PHP_MSHUTDOWN_FUNCTION(pqcancel); +extern PHP_MINIT_FUNCTION(pqcancel); +extern PHP_MSHUTDOWN_FUNCTION(pqcancel); #endif