X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-pq;a=blobdiff_plain;f=src%2Fphp_pqcopy.h;h=decc8178d4f1af5848fde18f1a12f927f475d5ec;hp=130a1f29ebd1bbc3eb04ae32cf799216d18feb50;hb=7ebb278e7854e8dd7c4fd6c0363531642d135676;hpb=a5470139f5305341fca92f942852d1ae18b254ea diff --git a/src/php_pqcopy.h b/src/php_pqcopy.h index 130a1f2..decc817 100644 --- a/src/php_pqcopy.h +++ b/src/php_pqcopy.h @@ -35,14 +35,11 @@ typedef struct php_pqcopy { } php_pqcopy_t; typedef struct php_pqcopy_object { - zend_object zo; - zend_object_value zv; - HashTable *prophandler; - php_pqcopy_t *intern; + PHP_PQ_OBJ_DECL(php_pqcopy_t *) } php_pqcopy_object_t; extern zend_class_entry *php_pqcopy_class_entry; -extern zend_object_value php_pqcopy_create_object_ex(zend_class_entry *ce, php_pqcopy_t *intern, php_pqcopy_object_t **ptr TSRMLS_DC); +extern php_pqcopy_object_t *php_pqcopy_create_object_ex(zend_class_entry *ce, php_pqcopy_t *intern); extern PHP_MINIT_FUNCTION(pqcopy); extern PHP_MSHUTDOWN_FUNCTION(pqcopy);