+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
18 extern zend_module_entry propro_module_entry;
+
19 #define phpext_propro_ptr &propro_module_entry
+
+
21 #define PHP_PROPRO_VERSION "1.0.0"
+
+
+
24 # define PHP_PROPRO_API __declspec(dllexport)
+
25 #elif defined(__GNUC__) && __GNUC__ >= 4
+
26 # define PHP_PROPRO_API extern __attribute__ ((visibility("default")))
+
+
28 # define PHP_PROPRO_API extern
+
+
+
+
32 # include <TSRM/TSRM.h>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
101 zend_object_value
zv;
+
+
+
+
+
+
+
121 const char *member_str,
size_t member_len TSRMLS_DC);
+
+
+
+
+
+
+
144 zend_class_entry *ce TSRMLS_DC);
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
The internal property proxy.
Definition: php_propro.h:42
+
char * member_str
The name of the proxied property.
Definition: php_propro.h:46
+
php_property_proxy_t * php_property_proxy_init(zval *container, const char *member_str, size_t member_len)
Create a property proxy.
+
php_property_proxy_t * proxy
The actual property proxy.
Definition: php_propro.h:103
+
zend_object zo
The std zend_object.
Definition: php_propro.h:99
+
size_t member_len
The length of the name.
Definition: php_propro.h:48
+
zend_object_value php_property_proxy_object_new(zend_class_entry *ce)
Instantiate a new php\PropertyProxy.
+
zval * container
The container holding the property.
Definition: php_propro.h:44
+
zend_object_value php_property_proxy_object_new_ex(zend_class_entry *ce, php_property_proxy_t *proxy, php_property_proxy_object_t **ptr)
Instantiate a new php\PropertyProxy with proxy.
+
zend_object_value zv
The object value for easy zval creation.
Definition: php_propro.h:101
+
struct php_property_proxy_object * parent
A reference to any parent property proxy object.
Definition: php_propro.h:105
+
zend_class_entry * php_property_proxy_get_class_entry(void)
Get the zend_class_entry of php\PropertyProxy.
+
void php_property_proxy_free(php_property_proxy_t **proxy)
Destroy and free a property proxy.
+
The userland object.
Definition: php_propro.h:97
+