From: Sebastian Bergmann Date: Tue, 16 Dec 2003 11:44:19 +0000 (+0000) Subject: Sync: Export externally used functions. X-Git-Tag: php-5.0.0b3RC1~37 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9c909f41fda5003eba798f1bd501b84d6066d4da;p=php Sync: Export externally used functions. --- diff --git a/Zend/zend_compile.h b/Zend/zend_compile.h index 67fe568c1b..f686bdb460 100644 --- a/Zend/zend_compile.h +++ b/Zend/zend_compile.h @@ -480,7 +480,7 @@ int pass_two(zend_op_array *op_array TSRMLS_DC); zend_brk_cont_element *get_next_brk_cont_element(zend_op_array *op_array); ZEND_API zend_bool zend_is_compiling(TSRMLS_D); ZEND_API char *zend_make_compiled_string_description(char *name TSRMLS_DC); -void zend_initialize_class_data(zend_class_entry *ce, zend_bool nullify_handlers TSRMLS_DC); +ZEND_API void zend_initialize_class_data(zend_class_entry *ce, zend_bool nullify_handlers TSRMLS_DC); int zend_get_class_fetch_type(char *class_name, uint class_name_len); typedef zend_bool (*zend_auto_global_callback)(char *name, uint name_len TSRMLS_DC); diff --git a/Zend/zend_object_handlers.h b/Zend/zend_object_handlers.h index 9687f05f5a..64ae400585 100644 --- a/Zend/zend_object_handlers.h +++ b/Zend/zend_object_handlers.h @@ -114,9 +114,9 @@ typedef struct _zend_object_handlers { } zend_object_handlers; extern zend_object_handlers std_object_handlers; -union _zend_function *zend_std_get_static_method(zend_class_entry *ce, char *function_name_strval, int function_name_strlen TSRMLS_DC); -zval **zend_std_get_static_property(zend_class_entry *ce, char *property_name, int property_name_len, zend_bool silent TSRMLS_DC); -zend_bool zend_std_unset_static_property(zend_class_entry *ce, char *property_name, int property_name_len TSRMLS_DC); +ZEND_API union _zend_function *zend_std_get_static_method(zend_class_entry *ce, char *function_name_strval, int function_name_strlen TSRMLS_DC); +ZEND_API zval **zend_std_get_static_property(zend_class_entry *ce, char *property_name, int property_name_len, zend_bool silent TSRMLS_DC); +ZEND_API zend_bool zend_std_unset_static_property(zend_class_entry *ce, char *property_name, int property_name_len TSRMLS_DC); int zend_std_cast_object(zval *readobj, zval *writeobj, int type, int should_free TSRMLS_DC); ZEND_API int zend_std_cast_object_tostring(zval *readobj, zval *writeobj, int type, int should_free TSRMLS_DC); @@ -125,7 +125,7 @@ ZEND_API int zend_std_cast_object_tostring(zval *readobj, zval *writeobj, int ty #define IS_ZEND_STD_OBJECT(z) ((z).type == IS_OBJECT && (Z_OBJ_HT((z))->get_class_entry != NULL)) #define HAS_CLASS_ENTRY(z) (Z_OBJ_HT(z)->get_class_entry != NULL) -int zend_check_protected(zend_class_entry *ce, zend_class_entry *scope); +ZEND_API int zend_check_protected(zend_class_entry *ce, zend_class_entry *scope); #endif diff --git a/Zend/zend_stream.h b/Zend/zend_stream.h index 13c8ab86e9..f86ffbd574 100644 --- a/Zend/zend_stream.h +++ b/Zend/zend_stream.h @@ -47,7 +47,7 @@ typedef struct _zend_file_handle { zend_bool free_filename; } zend_file_handle; -int zend_stream_open(const char *filename, zend_file_handle *handle TSRMLS_DC); +ZEND_API int zend_stream_open(const char *filename, zend_file_handle *handle TSRMLS_DC); int zend_stream_ferror(zend_file_handle *file_handle TSRMLS_DC); int zend_stream_getc(zend_file_handle *file_handle TSRMLS_DC); size_t zend_stream_read(zend_file_handle *file_handle, char *buf, size_t len TSRMLS_DC);