1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-09 21:40:33 +02:00

Defined SCM_SRFI4_API. Prefixed each exported

symbol with SCM_SRFI4_API.
This commit is contained in:
Marius Vollmer 2001-11-02 00:21:25 +00:00
parent 88a9347187
commit 064a03fd19

View file

@ -46,96 +46,108 @@
* If you do not wish that, delete this exception notice. */ * If you do not wish that, delete this exception notice. */
SCM scm_u8vector_p (SCM obj); /* SCM_SRFI4_API is a macro prepended to all function and data definitions
SCM scm_make_u8vector (SCM n, SCM fill); which should be exported or imported in the resulting dynamic link
SCM scm_u8vector (SCM l); library in the Win32 port. */
SCM scm_u8vector_length (SCM uvec);
SCM scm_u8vector_ref (SCM uvec, SCM index);
SCM scm_u8vector_set_x (SCM uvec, SCM index, SCM value);
SCM scm_u8vector_to_list (SCM uvec);
SCM scm_list_to_u8vector (SCM l);
SCM scm_s8vector_p (SCM obj); #if defined (__SCM_SRFI4_IMPORT__)
SCM scm_make_s8vector (SCM n, SCM fill); # define SCM_SRFI4_API __declspec (dllimport) extern
SCM scm_s8vector (SCM l); #elif defined (__SCM_SRFI4_EXPORT__) || defined (DLL_EXPORT)
SCM scm_s8vector_length (SCM uvec); # define SCM_SRFI4_API __declspec (dllexport) extern
SCM scm_s8vector_ref (SCM uvec, SCM index); #else
SCM scm_s8vector_set_x (SCM uvec, SCM index, SCM value); # define SCM_SRFI4_API extern
SCM scm_s8vector_to_list (SCM uvec); #endif
SCM scm_list_to_s8vector (SCM l);
SCM scm_u16vector_p (SCM obj); SCM_SRFI4_API SCM scm_u8vector_p (SCM obj);
SCM scm_make_u16vector (SCM n, SCM fill); SCM_SRFI4_API SCM scm_make_u8vector (SCM n, SCM fill);
SCM scm_u16vector (SCM l); SCM_SRFI4_API SCM scm_u8vector (SCM l);
SCM scm_u16vector_length (SCM uvec); SCM_SRFI4_API SCM scm_u8vector_length (SCM uvec);
SCM scm_u16vector_ref (SCM uvec, SCM index); SCM_SRFI4_API SCM scm_u8vector_ref (SCM uvec, SCM index);
SCM scm_u16vector_set_x (SCM uvec, SCM index, SCM value); SCM_SRFI4_API SCM scm_u8vector_set_x (SCM uvec, SCM index, SCM value);
SCM scm_u16vector_to_list (SCM uvec); SCM_SRFI4_API SCM scm_u8vector_to_list (SCM uvec);
SCM scm_list_to_u16vector (SCM l); SCM_SRFI4_API SCM scm_list_to_u8vector (SCM l);
SCM scm_s16vector_p (SCM obj); SCM_SRFI4_API SCM scm_s8vector_p (SCM obj);
SCM scm_make_s16vector (SCM n, SCM fill); SCM_SRFI4_API SCM scm_make_s8vector (SCM n, SCM fill);
SCM scm_s16vector (SCM l); SCM_SRFI4_API SCM scm_s8vector (SCM l);
SCM scm_s16vector_length (SCM uvec); SCM_SRFI4_API SCM scm_s8vector_length (SCM uvec);
SCM scm_s16vector_ref (SCM uvec, SCM index); SCM_SRFI4_API SCM scm_s8vector_ref (SCM uvec, SCM index);
SCM scm_s16vector_set_x (SCM uvec, SCM index, SCM value); SCM_SRFI4_API SCM scm_s8vector_set_x (SCM uvec, SCM index, SCM value);
SCM scm_s16vector_to_list (SCM uvec); SCM_SRFI4_API SCM scm_s8vector_to_list (SCM uvec);
SCM scm_list_to_s16vector (SCM l); SCM_SRFI4_API SCM scm_list_to_s8vector (SCM l);
SCM scm_u32vector_p (SCM obj); SCM_SRFI4_API SCM scm_u16vector_p (SCM obj);
SCM scm_make_u32vector (SCM n, SCM fill); SCM_SRFI4_API SCM scm_make_u16vector (SCM n, SCM fill);
SCM scm_u32vector (SCM l); SCM_SRFI4_API SCM scm_u16vector (SCM l);
SCM scm_u32vector_length (SCM uvec); SCM_SRFI4_API SCM scm_u16vector_length (SCM uvec);
SCM scm_u32vector_ref (SCM uvec, SCM index); SCM_SRFI4_API SCM scm_u16vector_ref (SCM uvec, SCM index);
SCM scm_u32vector_set_x (SCM uvec, SCM index, SCM value); SCM_SRFI4_API SCM scm_u16vector_set_x (SCM uvec, SCM index, SCM value);
SCM scm_u32vector_to_list (SCM uvec); SCM_SRFI4_API SCM scm_u16vector_to_list (SCM uvec);
SCM scm_list_to_u32vector (SCM l); SCM_SRFI4_API SCM scm_list_to_u16vector (SCM l);
SCM scm_s32vector_p (SCM obj); SCM_SRFI4_API SCM scm_s16vector_p (SCM obj);
SCM scm_make_s32vector (SCM n, SCM fill); SCM_SRFI4_API SCM scm_make_s16vector (SCM n, SCM fill);
SCM scm_s32vector (SCM l); SCM_SRFI4_API SCM scm_s16vector (SCM l);
SCM scm_s32vector_length (SCM uvec); SCM_SRFI4_API SCM scm_s16vector_length (SCM uvec);
SCM scm_s32vector_ref (SCM uvec, SCM index); SCM_SRFI4_API SCM scm_s16vector_ref (SCM uvec, SCM index);
SCM scm_s32vector_set_x (SCM uvec, SCM index, SCM value); SCM_SRFI4_API SCM scm_s16vector_set_x (SCM uvec, SCM index, SCM value);
SCM scm_s32vector_to_list (SCM uvec); SCM_SRFI4_API SCM scm_s16vector_to_list (SCM uvec);
SCM scm_list_to_s32vector (SCM l); SCM_SRFI4_API SCM scm_list_to_s16vector (SCM l);
SCM scm_u64vector_p (SCM obj); SCM_SRFI4_API SCM scm_u32vector_p (SCM obj);
SCM scm_make_u64vector (SCM n, SCM fill); SCM_SRFI4_API SCM scm_make_u32vector (SCM n, SCM fill);
SCM scm_u64vector (SCM l); SCM_SRFI4_API SCM scm_u32vector (SCM l);
SCM scm_u64vector_length (SCM uvec); SCM_SRFI4_API SCM scm_u32vector_length (SCM uvec);
SCM scm_u64vector_ref (SCM uvec, SCM index); SCM_SRFI4_API SCM scm_u32vector_ref (SCM uvec, SCM index);
SCM scm_u64vector_set_x (SCM uvec, SCM index, SCM value); SCM_SRFI4_API SCM scm_u32vector_set_x (SCM uvec, SCM index, SCM value);
SCM scm_u64vector_to_list (SCM uvec); SCM_SRFI4_API SCM scm_u32vector_to_list (SCM uvec);
SCM scm_list_to_u64vector (SCM l); SCM_SRFI4_API SCM scm_list_to_u32vector (SCM l);
SCM scm_s64vector_p (SCM obj); SCM_SRFI4_API SCM scm_s32vector_p (SCM obj);
SCM scm_make_s64vector (SCM n, SCM fill); SCM_SRFI4_API SCM scm_make_s32vector (SCM n, SCM fill);
SCM scm_s64vector (SCM l); SCM_SRFI4_API SCM scm_s32vector (SCM l);
SCM scm_s64vector_length (SCM uvec); SCM_SRFI4_API SCM scm_s32vector_length (SCM uvec);
SCM scm_s64vector_ref (SCM uvec, SCM index); SCM_SRFI4_API SCM scm_s32vector_ref (SCM uvec, SCM index);
SCM scm_s64vector_set_x (SCM uvec, SCM index, SCM value); SCM_SRFI4_API SCM scm_s32vector_set_x (SCM uvec, SCM index, SCM value);
SCM scm_s64vector_to_list (SCM uvec); SCM_SRFI4_API SCM scm_s32vector_to_list (SCM uvec);
SCM scm_list_to_s64vector (SCM l); SCM_SRFI4_API SCM scm_list_to_s32vector (SCM l);
SCM scm_f32vector_p (SCM obj); SCM_SRFI4_API SCM scm_u64vector_p (SCM obj);
SCM scm_make_f32vector (SCM n, SCM fill); SCM_SRFI4_API SCM scm_make_u64vector (SCM n, SCM fill);
SCM scm_f32vector (SCM l); SCM_SRFI4_API SCM scm_u64vector (SCM l);
SCM scm_f32vector_length (SCM uvec); SCM_SRFI4_API SCM scm_u64vector_length (SCM uvec);
SCM scm_f32vector_ref (SCM uvec, SCM index); SCM_SRFI4_API SCM scm_u64vector_ref (SCM uvec, SCM index);
SCM scm_f32vector_set_x (SCM uvec, SCM index, SCM value); SCM_SRFI4_API SCM scm_u64vector_set_x (SCM uvec, SCM index, SCM value);
SCM scm_f32vector_to_list (SCM uvec); SCM_SRFI4_API SCM scm_u64vector_to_list (SCM uvec);
SCM scm_list_to_f32vector (SCM l); SCM_SRFI4_API SCM scm_list_to_u64vector (SCM l);
SCM scm_f64vector_p (SCM obj); SCM_SRFI4_API SCM scm_s64vector_p (SCM obj);
SCM scm_make_f64vector (SCM n, SCM fill); SCM_SRFI4_API SCM scm_make_s64vector (SCM n, SCM fill);
SCM scm_f64vector (SCM l); SCM_SRFI4_API SCM scm_s64vector (SCM l);
SCM scm_f64vector_length (SCM uvec); SCM_SRFI4_API SCM scm_s64vector_length (SCM uvec);
SCM scm_f64vector_ref (SCM uvec, SCM index); SCM_SRFI4_API SCM scm_s64vector_ref (SCM uvec, SCM index);
SCM scm_f64vector_set_x (SCM uvec, SCM index, SCM value); SCM_SRFI4_API SCM scm_s64vector_set_x (SCM uvec, SCM index, SCM value);
SCM scm_f64vector_to_list (SCM uvec); SCM_SRFI4_API SCM scm_s64vector_to_list (SCM uvec);
SCM scm_list_to_f64vector (SCM l); SCM_SRFI4_API SCM scm_list_to_s64vector (SCM l);
void scm_init_srfi_4 (void); SCM_SRFI4_API SCM scm_f32vector_p (SCM obj);
SCM_SRFI4_API SCM scm_make_f32vector (SCM n, SCM fill);
SCM_SRFI4_API SCM scm_f32vector (SCM l);
SCM_SRFI4_API SCM scm_f32vector_length (SCM uvec);
SCM_SRFI4_API SCM scm_f32vector_ref (SCM uvec, SCM index);
SCM_SRFI4_API SCM scm_f32vector_set_x (SCM uvec, SCM index, SCM value);
SCM_SRFI4_API SCM scm_f32vector_to_list (SCM uvec);
SCM_SRFI4_API SCM scm_list_to_f32vector (SCM l);
SCM_SRFI4_API SCM scm_f64vector_p (SCM obj);
SCM_SRFI4_API SCM scm_make_f64vector (SCM n, SCM fill);
SCM_SRFI4_API SCM scm_f64vector (SCM l);
SCM_SRFI4_API SCM scm_f64vector_length (SCM uvec);
SCM_SRFI4_API SCM scm_f64vector_ref (SCM uvec, SCM index);
SCM_SRFI4_API SCM scm_f64vector_set_x (SCM uvec, SCM index, SCM value);
SCM_SRFI4_API SCM scm_f64vector_to_list (SCM uvec);
SCM_SRFI4_API SCM scm_list_to_f64vector (SCM l);
SCM_SRFI4_API void scm_init_srfi_4 (void);
#endif /* SCM_SRFI_4_H */ #endif /* SCM_SRFI_4_H */