diff options
| author | Marcus Boerger <helly@php.net> | 2003-08-23 19:37:39 +0000 |
|---|---|---|
| committer | Marcus Boerger <helly@php.net> | 2003-08-23 19:37:39 +0000 |
| commit | baaa4c903d8aab34eee916505e514978473b0e21 (patch) | |
| tree | cf08a535e320eb93a9d77cbf7a49e62b04064543 /Zend/zend_API.h | |
| parent | 5e77dc44dc72df6994c20e034b2f48f93bfca6ae (diff) | |
| download | php-git-baaa4c903d8aab34eee916505e514978473b0e21.tar.gz | |
Internal classes can now have default properties.
Diffstat (limited to 'Zend/zend_API.h')
| -rw-r--r-- | Zend/zend_API.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Zend/zend_API.h b/Zend/zend_API.h index 8f4567c36a..7e4ef3ad5b 100644 --- a/Zend/zend_API.h +++ b/Zend/zend_API.h @@ -164,7 +164,13 @@ ZEND_API void zend_wrong_param_count(TSRMLS_D); ZEND_API zend_bool zend_is_callable(zval *callable, zend_bool syntax_only, char **callable_name); ZEND_API char *zend_get_module_version(char *module_name); ZEND_API int zend_declare_property(zend_class_entry *ce, char *name, int name_length, zval *property, int access_type); +ZEND_API int zend_declare_property_null(zend_class_entry *ce, char *name, int name_length, int access_type); +ZEND_API int zend_declare_property_long(zend_class_entry *ce, char *name, int name_length, long value, int access_type); +ZEND_API void zend_update_property(zend_class_entry *scope, zval *object, char *name, int name_length, zval *value TSRMLS_DC); +ZEND_API void zend_update_property_null(zend_class_entry *scope, zval *object, char *name, int name_length TSRMLS_DC); +ZEND_API void zend_update_property_long(zend_class_entry *scope, zval *object, char *name, int name_length, long value TSRMLS_DC); +ZEND_API void zend_update_property_string(zend_class_entry *scope, zval *object, char *name, int name_length, char *value TSRMLS_DC); ZEND_API zend_class_entry *zend_get_class_entry(zval *zobject TSRMLS_DC); |
