X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=src%2Fphp_pqcancel.h;h=fb0a69eb84f65f1d6c6f81853967ddab66602b56;hb=cc619cb8b6a15e1ea14bedf713cbcd645a0ee7ca;hp=12f65229ff27620c1e8e841d9f09649db2d0e4f6;hpb=9f5cecf26bd70a92ed013f31afec59e272623ac1;p=m6w6%2Fext-pq diff --git a/src/php_pqcancel.h b/src/php_pqcancel.h index 12f6522..fb0a69e 100644 --- a/src/php_pqcancel.h +++ b/src/php_pqcancel.h @@ -22,16 +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); +extern PHP_MINIT_FUNCTION(pqcancel); +extern PHP_MSHUTDOWN_FUNCTION(pqcancel); #endif