]> granicus.if.org Git - php/commitdiff
Sync: Export externally used functions.
authorSebastian Bergmann <sebastian@php.net>
Tue, 16 Dec 2003 11:44:19 +0000 (11:44 +0000)
committerSebastian Bergmann <sebastian@php.net>
Tue, 16 Dec 2003 11:44:19 +0000 (11:44 +0000)
Zend/zend_compile.h
Zend/zend_object_handlers.h
Zend/zend_stream.h

index 67fe568c1b428db3cd030d47b74ab47aa0cb80a0..f686bdb46039e4f01babc4c2bce39444d170b43b 100644 (file)
@@ -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);
index 9687f05f5ae5238092d7ce998a5744952cd27312..64ae400585550469f13913997ef49d7f8cd1c7eb 100644 (file)
@@ -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
 
index 13c8ab86e9cd7a93165399589d140b4ebea66f63..f86ffbd574c1348026afd9961b2eb107268b036f 100644 (file)
@@ -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);