diff options
author | Andi Gutmans <andi@php.net> | 1999-04-14 19:53:33 +0000 |
---|---|---|
committer | Andi Gutmans <andi@php.net> | 1999-04-14 19:53:33 +0000 |
commit | 39f9487ee1ee4132e12eaafa0ed2a63e12612420 (patch) | |
tree | d84b46e0f75a29af0ac21443563ccf9b048e9a5c /Zend/zend_compile.h | |
parent | 76ceb9ad44106df47b7d6faa81160926574509aa (diff) | |
download | php-git-39f9487ee1ee4132e12eaafa0ed2a63e12612420.tar.gz |
-Tiny patches
Diffstat (limited to 'Zend/zend_compile.h')
-rw-r--r-- | Zend/zend_compile.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/Zend/zend_compile.h b/Zend/zend_compile.h index ff66074cd5..1477d95e50 100644 --- a/Zend/zend_compile.h +++ b/Zend/zend_compile.h @@ -150,7 +150,7 @@ typedef struct { } list_llist_element; -typedef struct { +typedef struct _zend_file_handle { int type; char *filename; union { @@ -176,7 +176,7 @@ typedef struct { void init_compiler(CLS_D ELS_DC); void shutdown_compiler(CLS_D); -extern zend_op_array *(*zend_compile_files)(int mark_as_ref CLS_DC, int file_count, ...); +extern ZEND_API zend_op_array *(*zend_compile_files)(int mark_as_ref CLS_DC, int file_count, ...); int lex_scan(zval *zendlval CLS_DC); void reset_scanner(CLS_D); @@ -315,6 +315,7 @@ void do_extended_fcall_end(CLS_D); ZEND_API int require_file(zend_file_handle *file_handle CLS_DC); ZEND_API int require_filename(char *filename CLS_DC); ZEND_API zend_op_array *compile_files(int mark_as_ref CLS_DC, int file_count, ...); +ZEND_API zend_op_array *v_compile_files(int mark_as_ref ELS_DC, int file_count, va_list files); ZEND_API zend_op_array *compile_string(zval *source_string CLS_DC); ZEND_API zend_op_array *compile_filename(zval *filename CLS_DC); inline int open_file_for_scanning(zend_file_handle *file_handle CLS_DC); @@ -325,8 +326,8 @@ inline int open_file_for_scanning(zend_file_handle *file_handle CLS_DC); ZEND_API void init_op_array(zend_op_array *op_array, int initial_ops_size); ZEND_API void destroy_op_array(zend_op_array *op_array); -void destroy_zend_function(zend_function *function); -void 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); zend_op *get_next_op(zend_op_array *op_array CLS_DC); int get_next_op_number(zend_op_array *op_array); int print_class(zend_class_entry *class_entry); |