diff options
author | Zeev Suraski <zeev@php.net> | 1999-06-04 11:44:02 +0000 |
---|---|---|
committer | Zeev Suraski <zeev@php.net> | 1999-06-04 11:44:02 +0000 |
commit | 9108abc28722d7e9c779b37520c280f967059979 (patch) | |
tree | f39ff947e1e4638d8760b304225f8b1f8b377330 /Zend/zend_list.c | |
parent | 3cad348509b66828f421d1b843a025b555519a83 (diff) | |
download | php-git-9108abc28722d7e9c779b37520c280f967059979.tar.gz |
Minor updates (mostly __declspec() stuff)
Diffstat (limited to 'Zend/zend_list.c')
-rw-r--r-- | Zend/zend_list.c | 31 |
1 files changed, 16 insertions, 15 deletions
diff --git a/Zend/zend_list.c b/Zend/zend_list.c index 7af4e04056..6285c96970 100644 --- a/Zend/zend_list.c +++ b/Zend/zend_list.c @@ -20,7 +20,7 @@ #include "zend_globals.h" -int le_index_ptr; +ZEND_API int le_index_ptr; static inline int zend_list_do_insert(HashTable *list,void *ptr, int type) { @@ -70,7 +70,7 @@ static inline void *zend_list_do_find(HashTable *list,int id, int *type) } -int zend_list_insert(void *ptr, int type) +ZEND_API int zend_list_insert(void *ptr, int type) { ELS_FETCH(); @@ -78,7 +78,7 @@ int zend_list_insert(void *ptr, int type) } -int zend_plist_insert(void *ptr, int type) +ZEND_API int zend_plist_insert(void *ptr, int type) { ELS_FETCH(); @@ -86,15 +86,7 @@ int zend_plist_insert(void *ptr, int type) } -int zend_list_delete(int id) -{ - ELS_FETCH(); - - return zend_list_do_delete(&EG(regular_list), id); -} - - -int zend_list_addref(int id) +ZEND_API int zend_list_addref(int id) { list_entry *le; ELS_FETCH(); @@ -108,7 +100,16 @@ int zend_list_addref(int id) } } -int zend_plist_delete(int id) + +ZEND_API int zend_list_delete(int id) +{ + ELS_FETCH(); + + return zend_list_do_delete(&EG(regular_list), id); +} + + +ZEND_API int zend_plist_delete(int id) { ELS_FETCH(); @@ -116,7 +117,7 @@ int zend_plist_delete(int id) } -void *zend_list_find(int id, int *type) +ZEND_API void *zend_list_find(int id, int *type) { ELS_FETCH(); @@ -124,7 +125,7 @@ void *zend_list_find(int id, int *type) } -void *zend_plist_find(int id, int *type) +ZEND_API void *zend_plist_find(int id, int *type) { ELS_FETCH(); |