Resource and persistent handle factory API
A facility to manage possibly persistent resources with a comprehensible API. Provides simliar functionality like the zend_list API, but with more flexiblity and freedom.
|
The resource ops consisting of a ctor, a copy ctor and a dtor. More...
#include <php_raphf.h>
Data Fields | |
php_resource_factory_handle_ctor_t | ctor |
The resource constructor. More... | |
php_resource_factory_handle_copy_t | copy |
The resource's copy constructor. More... | |
php_resource_factory_handle_dtor_t | dtor |
The resource's destructor. More... | |
The resource ops consisting of a ctor, a copy ctor and a dtor.
Define this ops and register them with php_persistent_handle_provide() in MINIT.
php_resource_factory_handle_copy_t php_resource_factory_ops::copy |
The resource's copy constructor.
php_resource_factory_handle_ctor_t php_resource_factory_ops::ctor |
The resource constructor.
php_resource_factory_handle_dtor_t php_resource_factory_ops::dtor |
The resource's destructor.