X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-propro;a=blobdiff_plain;f=php_propro.h;h=35188547e9a2db2bf6cffbc9c74389ee61b1a7c7;hp=f26cab04f96b7204d1d63b43ca8490fe320106da;hb=80d85295f0d92eb57c4a37a7f6ea78b8a9e951d8;hpb=0375bec5a1b40e64a052689440e7e1303230bf93 diff --git a/php_propro.h b/php_propro.h index f26cab0..3518854 100644 --- a/php_propro.h +++ b/php_propro.h @@ -16,7 +16,7 @@ extern zend_module_entry propro_module_entry; #define phpext_propro_ptr &propro_module_entry -#define PHP_PROPRO_VERSION "0.1.0" +#define PHP_PROPRO_VERSION "1.0.0" #ifdef PHP_WIN32 # define PHP_PROPRO_API __declspec(dllexport) @@ -43,13 +43,17 @@ typedef struct php_property_proxy_object { struct php_property_proxy_object *parent; } php_property_proxy_object_t; -PHP_PROPRO_API php_property_proxy_t *php_property_proxy_init(zval *container, const char *member_str, size_t member_len TSRMLS_DC); +PHP_PROPRO_API php_property_proxy_t *php_property_proxy_init(zval *container, + const char *member_str, size_t member_len TSRMLS_DC); PHP_PROPRO_API void php_property_proxy_free(php_property_proxy_t **proxy); PHP_PROPRO_API zend_class_entry *php_property_proxy_get_class_entry(void); -PHP_PROPRO_API zend_object_value php_property_proxy_object_new(zend_class_entry *ce TSRMLS_DC); -PHP_PROPRO_API zend_object_value php_property_proxy_object_new_ex(zend_class_entry *ce, php_property_proxy_t *proxy, php_property_proxy_object_t **ptr TSRMLS_DC); +PHP_PROPRO_API zend_object_value php_property_proxy_object_new( + zend_class_entry *ce TSRMLS_DC); +PHP_PROPRO_API zend_object_value php_property_proxy_object_new_ex( + zend_class_entry *ce, php_property_proxy_t *proxy, + php_property_proxy_object_t **ptr TSRMLS_DC); #endif /* PHP_PROPRO_H */