X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=php_raphf.h;h=e58273a713163a2d0c6831f693a43e2fdfe24545;hb=c01edad3209f9e20c8192bf562f2a994752b25cb;hp=3447059839da35916272224ea0e1e1f12b5ea200;hpb=c35c0bddcfac6e5bcd41949d401cc4d7cd98b4e3;p=m6w6%2Fext-raphf diff --git a/php_raphf.h b/php_raphf.h index 3447059..e58273a 100644 --- a/php_raphf.h +++ b/php_raphf.h @@ -18,7 +18,7 @@ extern zend_module_entry raphf_module_entry; #define phpext_raphf_ptr &raphf_module_entry -#define PHP_RAPHF_VERSION "1.0.4" +#define PHP_RAPHF_VERSION "2.0.0dev" #ifdef PHP_WIN32 # define PHP_RAPHF_API __declspec(dllexport) @@ -254,7 +254,7 @@ struct php_persistent_handle_factory { * @param dtor \a data destructor * @return SUCCESS/FAILURE */ -PHP_RAPHF_API int /* SUCCESS|FAILURE */ php_persistent_handle_provide( +PHP_RAPHF_API ZEND_RESULT_CODE php_persistent_handle_provide( const char *name_str, size_t name_len, php_resource_factory_ops_t *fops, void *data, void (*dtor)(void *) TSRMLS_DC);