Deleted Added
full compact
zend_API.h (86357a9c) zend_API.h (6847fefa)
1/*
2 +----------------------------------------------------------------------+
3 | Zend Engine |
4 +----------------------------------------------------------------------+
5 | Copyright (c) 1998, 1999 Andi Gutmans, Zeev Suraski |
6 +----------------------------------------------------------------------+
7 | This source file is subject to version 0.91 of the Zend license, |
8 | that is bundled with this package in the file LICENSE, and is |

--- 76 unchanged lines hidden (view full) ---

85#define DLEXPORT
86#endif
87
88int zend_startup_module(zend_module_entry *module);
89
90ZEND_API int array_init(zval *arg);
91ZEND_API int object_init(zval *arg);
92ZEND_API int object_init_ex(zval *arg, zend_class_entry *ce);
1/*
2 +----------------------------------------------------------------------+
3 | Zend Engine |
4 +----------------------------------------------------------------------+
5 | Copyright (c) 1998, 1999 Andi Gutmans, Zeev Suraski |
6 +----------------------------------------------------------------------+
7 | This source file is subject to version 0.91 of the Zend license, |
8 | that is bundled with this package in the file LICENSE, and is |

--- 76 unchanged lines hidden (view full) ---

85#define DLEXPORT
86#endif
87
88int zend_startup_module(zend_module_entry *module);
89
90ZEND_API int array_init(zval *arg);
91ZEND_API int object_init(zval *arg);
92ZEND_API int object_init_ex(zval *arg, zend_class_entry *ce);
93
94/* no longer supported */
95ZEND_API int add_assoc_function(zval *arg, char *key,void (*function_ptr)(INTERNAL_FUNCTION_PARAMETERS));
96
93ZEND_API int add_assoc_long(zval *arg, char *key, long n);
97ZEND_API int add_assoc_long(zval *arg, char *key, long n);
98ZEND_API int add_assoc_bool(zval *arg, char *key, int b);
99ZEND_API int add_assoc_resource(zval *arg, char *key, int r);
94ZEND_API int add_assoc_double(zval *arg, char *key, double d);
95ZEND_API int add_assoc_string(zval *arg, char *key, char *str, int duplicate);
96ZEND_API int add_assoc_stringl(zval *arg, char *key, char *str, uint length, int duplicate);
100ZEND_API int add_assoc_double(zval *arg, char *key, double d);
101ZEND_API int add_assoc_string(zval *arg, char *key, char *str, int duplicate);
102ZEND_API int add_assoc_stringl(zval *arg, char *key, char *str, uint length, int duplicate);
97ZEND_API int add_assoc_function(zval *arg, char *key,void (*function_ptr)(INTERNAL_FUNCTION_PARAMETERS));
103
98ZEND_API int add_index_long(zval *arg, uint idx, long n);
104ZEND_API int add_index_long(zval *arg, uint idx, long n);
105ZEND_API int add_index_bool(zval *arg, uint idx, int b);
106ZEND_API int add_index_resource(zval *arg, uint idx, int r);
99ZEND_API int add_index_double(zval *arg, uint idx, double d);
100ZEND_API int add_index_string(zval *arg, uint idx, char *str, int duplicate);
101ZEND_API int add_index_stringl(zval *arg, uint idx, char *str, uint length, int duplicate);
107ZEND_API int add_index_double(zval *arg, uint idx, double d);
108ZEND_API int add_index_string(zval *arg, uint idx, char *str, int duplicate);
109ZEND_API int add_index_stringl(zval *arg, uint idx, char *str, uint length, int duplicate);
110
102ZEND_API int add_next_index_long(zval *arg, long n);
111ZEND_API int add_next_index_long(zval *arg, long n);
112ZEND_API int add_next_index_bool(zval *arg, int b);
113ZEND_API int add_next_index_resource(zval *arg, int r);
103ZEND_API int add_next_index_double(zval *arg, double d);
104ZEND_API int add_next_index_string(zval *arg, char *str, int duplicate);
105ZEND_API int add_next_index_stringl(zval *arg, char *str, uint length, int duplicate);
106
114ZEND_API int add_next_index_double(zval *arg, double d);
115ZEND_API int add_next_index_string(zval *arg, char *str, int duplicate);
116ZEND_API int add_next_index_stringl(zval *arg, char *str, uint length, int duplicate);
117
107ZEND_API int add_get_assoc_string(zval *arg, char *key, char *str, void **dest, int duplicate);
108ZEND_API int add_get_assoc_stringl(zval *arg, char *key, char *str, uint length, void **dest, int duplicate);
109ZEND_API int add_get_index_long(zval *arg, uint idx, long l, void **dest);
110ZEND_API int add_get_index_double(zval *arg, uint idx, double d, void **dest);
118ZEND_API int add_get_index_long(zval *arg, uint idx, long l, void **dest);
119ZEND_API int add_get_index_double(zval *arg, uint idx, double d, void **dest);
120ZEND_API int add_get_assoc_string(zval *arg, char *key, char *str, void **dest, int duplicate);
121ZEND_API int add_get_assoc_stringl(zval *arg, char *key, char *str, uint length, void **dest, int duplicate);
111ZEND_API int add_get_index_string(zval *arg, uint idx, char *str, void **dest, int duplicate);
112ZEND_API int add_get_index_stringl(zval *arg, uint idx, char *str, uint length, void **dest, int duplicate);
113
114ZEND_API int call_user_function(HashTable *function_table, zval *object, zval *function_name, zval *retval, int param_count, zval *params[]);
115ZEND_API int call_user_function_ex(HashTable *function_table, zval *object, zval *function_name, zval *retval, int param_count, zval **params[], int no_separation);
116
122ZEND_API int add_get_index_string(zval *arg, uint idx, char *str, void **dest, int duplicate);
123ZEND_API int add_get_index_stringl(zval *arg, uint idx, char *str, uint length, void **dest, int duplicate);
124
125ZEND_API int call_user_function(HashTable *function_table, zval *object, zval *function_name, zval *retval, int param_count, zval *params[]);
126ZEND_API int call_user_function_ex(HashTable *function_table, zval *object, zval *function_name, zval *retval, int param_count, zval **params[], int no_separation);
127
117
118ZEND_API int add_property_long(zval *arg, char *key, long l);
119ZEND_API int add_property_resource(zval *arg, char *key, long r);
120ZEND_API int add_property_double(zval *arg, char *key, double d);
121ZEND_API int add_property_string(zval *arg, char *key, char *str, int duplicate);
122ZEND_API int add_property_stringl(zval *arg, char *key, char *str, uint length, int duplicate);
123
124#define add_method(arg,key,method) add_assoc_function((arg),(key),(method))
125

--- 148 unchanged lines hidden ---
128ZEND_API int add_property_long(zval *arg, char *key, long l);
129ZEND_API int add_property_resource(zval *arg, char *key, long r);
130ZEND_API int add_property_double(zval *arg, char *key, double d);
131ZEND_API int add_property_string(zval *arg, char *key, char *str, int duplicate);
132ZEND_API int add_property_stringl(zval *arg, char *key, char *str, uint length, int duplicate);
133
134#define add_method(arg,key,method) add_assoc_function((arg),(key),(method))
135

--- 148 unchanged lines hidden ---