X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=src%2Fphp_pqcancel.h;h=fb0a69eb84f65f1d6c6f81853967ddab66602b56;hb=75f3b1b8e2a950e2bce76ad8a68a37472485d3e6;hp=ad9fb6460360f9d92a60d44e4bb296a460f8e52a;hpb=a5470139f5305341fca92f942852d1ae18b254ea;p=m6w6%2Fext-pq diff --git a/src/php_pqcancel.h b/src/php_pqcancel.h index ad9fb64..fb0a69e 100644 --- a/src/php_pqcancel.h +++ b/src/php_pqcancel.h @@ -22,14 +22,11 @@ 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; extern zend_class_entry *php_pqcancel_class_entry; -extern zend_object_value php_pqcancel_create_object_ex(zend_class_entry *ce, php_pqcancel_t *intern, php_pqcancel_object_t **ptr TSRMLS_DC); +extern php_pqcancel_object_t *php_pqcancel_create_object_ex(zend_class_entry *ce, php_pqcancel_t *intern); extern PHP_MINIT_FUNCTION(pqcancel); extern PHP_MSHUTDOWN_FUNCTION(pqcancel);