diff options
| author | Zeev Suraski <zeev@php.net> | 2000-01-17 17:33:37 +0000 |
|---|---|---|
| committer | Zeev Suraski <zeev@php.net> | 2000-01-17 17:33:37 +0000 |
| commit | 62114c18068610dc02b7a28e74d3d2957e3315fd (patch) | |
| tree | 53dc05ad4216381535f5985c6f615a432785b962 /Zend/zend_compile.h | |
| parent | ec386cc9fde380aaa4af823e75950365d8bb98da (diff) | |
| download | php-git-62114c18068610dc02b7a28e74d3d2957e3315fd.tar.gz | |
Destructors no longer return ints, the low level problem it was intended to solve is long gone now...
Diffstat (limited to 'Zend/zend_compile.h')
| -rw-r--r-- | Zend/zend_compile.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Zend/zend_compile.h b/Zend/zend_compile.h index 2b95d352fe..59ffd41009 100644 --- a/Zend/zend_compile.h +++ b/Zend/zend_compile.h @@ -362,12 +362,12 @@ ZEND_API void zend_close_file_handle(zend_file_handle *file_handle CLS_DC); ZEND_API void zend_open_file_dtor(zend_file_handle *fh); END_EXTERN_C() -ZEND_API int destroy_zend_function(zend_function *function); -ZEND_API int destroy_zend_class(zend_class_entry *ce); +ZEND_API void destroy_zend_function(zend_function *function); +ZEND_API void destroy_zend_class(zend_class_entry *ce); void zend_class_add_ref(zend_class_entry *ce); -#define ZEND_FUNCTION_DTOR (int (*)(void *)) destroy_zend_function -#define ZEND_CLASS_DTOR (int (*)(void *)) destroy_zend_class +#define ZEND_FUNCTION_DTOR (void (*)(void *)) destroy_zend_function +#define ZEND_CLASS_DTOR (void (*)(void *)) destroy_zend_class zend_op *get_next_op(zend_op_array *op_array CLS_DC); void init_op(zend_op *op CLS_DC); |
