X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=master%2Fphp__propro__api_8c.html;fp=master%2Fphp__propro__api_8c.html;h=2eaba2a5bc9f4216315b9f014c9c4bba19ac2cac;hb=25440bcce7a785032dbb7e9cc5e16cdc62ac18a8;hp=0000000000000000000000000000000000000000;hpb=ea5470824da8c22c682a187bdc62a906af18e33d;p=m6w6%2Fext-propro
diff --git a/master/php__propro__api_8c.html b/master/php__propro__api_8c.html
new file mode 100644
index 0000000..2eaba2a
--- /dev/null
+++ b/master/php__propro__api_8c.html
@@ -0,0 +1,453 @@
+
+
+
+
+
+
+Property proxy API: src/php_propro_api.c File Reference
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Property proxy API
+
+ A facility to manage extension object properties tied to C-struct members
+ |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
#include <php.h>
+
#include <ext/standard/info.h>
+
#include "php_propro_api.h"
+
+
+
+
+
+
+
+ #define DEBUG_PROPRO 0 |
+
+
+
+
+
+
+
+
+
+
+
+ #define debug_propro |
+ ( |
+ |
+ l, |
+
+
+ |
+ |
+ |
+ f, |
+
+
+ |
+ |
+ |
+ obj, |
+
+
+ |
+ |
+ |
+ off, |
+
+
+ |
+ |
+ |
+ val |
+
+
+ |
+ ) |
+ | |
+
+
+
+
+
+
+
+
+
+
+ PHP_MINFO_FUNCTION |
+ ( |
+ propro |
+ | ) |
+ |
+
+
+
+
+
+
+
+
+
+
+
Destroy and free a property proxy.
+
The destruction of the property proxy object calls this.
+
- Parameters
-
+
+ proxy | a pointer to the allocated property proxy |
+
+
+
+
+
+
+
+
+
+
+
+ zend_class_entry* php_property_proxy_get_class_entry |
+ ( |
+ void |
+ | ) |
+ |
+
+
+
+
+
Get the zend_class_entry of php\PropertyProxy.
+
- Returns
- the class entry pointer
+
+
+
+
+
+
+
+
+ php_property_proxy_t* php_property_proxy_init |
+ ( |
+ zval * |
+ container, |
+
+
+ |
+ |
+ zend_string * |
+ member |
+
+
+ |
+ ) |
+ | |
+
+
+
+
+
Create a property proxy.
+
The property proxy will forward reads and writes to itself to the proxied property with name member_str of container.
+
- Parameters
-
+
+ container | the container holding the property |
+ member | the name of the proxied property |
+
+
+
+
- Returns
- a new property proxy
+
+
+
+
+
+
+
+
+ zend_object* php_property_proxy_object_new |
+ ( |
+ zend_class_entry * |
+ ce | ) |
+ |
+
+
+
+
+
Instantiate a new php\PropertyProxy.
+
- Parameters
-
+
+ ce | the property proxy or derived class entry |
+
+
+
+
- Returns
- the zend object
+
+
+
+
+
+
+
+
+
+
+
+
Instantiate a new php\PropertyProxy with proxy.
+
- Parameters
-
+
+ ce | the property proxy or derived class entry |
+ proxy | the internal property proxy |
+
+
+
+
- Returns
- the property proxy
+
+
Referenced by php_property_proxy_object_new().
+
+
+
+
+
+
+
+
+
+
+
+
+ ZEND_END_ARG_INFO |
+ ( |
+ | ) |
+ |
+
+
+
+
+
+
+
+
+
+
+
+
+ zend_module_entry propro_module_entry |
+
+
+
+
Initial value:= {
+
STANDARD_MODULE_HEADER,
+
"propro",
+
propro_functions,
+
PHP_MINIT(propro),
+
NULL,
+
NULL,
+
NULL,
+
PHP_MINFO(propro),
+
"2.0.0dev" ,
+
STANDARD_MODULE_PROPERTIES
+
}
+
+
+
+
+
+
+
+
+