Reverse the n-ary logxor change. The behaviour is weird in a set
[bpt/guile.git] / srfi / srfi-4.h
CommitLineData
71ca65d9
MG
1#ifndef SCM_SRFI_4_H
2#define SCM_SRFI_4_H
3/* srfi-4.c --- Homogeneous numeric vector datatypes.
4 *
5 * Copyright (C) 2001 Free Software Foundation, Inc.
6 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License as
9 * published by the Free Software Foundation; either version 2, or (at
10 * your option) any later version.
11 *
12 * This program is distributed in the hope that it will be useful, but
13 * WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with this software; see the file COPYING. If not, write to
19 * the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
20 * Boston, MA 02111-1307 USA
21 *
22 * As a special exception, the Free Software Foundation gives
23 * permission for additional uses of the text contained in its release
24 * of GUILE.
25 *
26 * The exception is that, if you link the GUILE library with other
27 * files to produce an executable, this does not by itself cause the
28 * resulting executable to be covered by the GNU General Public
29 * License. Your use of that executable is in no way restricted on
30 * account of linking the GUILE library code into it.
31 *
32 * This exception does not however invalidate any other reasons why
33 * the executable file might be covered by the GNU General Public
34 * License.
35 *
36 * This exception applies only to the code released by the Free
37 * Software Foundation under the name GUILE. If you copy code from
38 * other Free Software Foundation releases into a copy of GUILE, as
39 * the General Public License permits, the exception does not apply to
40 * the code that you add in this way. To avoid misleading anyone as
41 * to the status of such modified files, you must delete this
42 * exception notice from them.
43 *
44 * If you write modifications of your own for GUILE, it is your choice
45 * whether to permit this exception to apply to your modifications.
46 * If you do not wish that, delete this exception notice. */
47\f
48
49SCM scm_u8vector_p (SCM obj);
50SCM scm_make_u8vector (SCM n, SCM fill);
51SCM scm_u8vector (SCM l);
52SCM scm_u8vector_length (SCM uvec);
53SCM scm_u8vector_ref (SCM uvec, SCM index);
54SCM scm_u8vector_set_x (SCM uvec, SCM index, SCM value);
55SCM scm_u8vector_to_list (SCM uvec);
56SCM scm_list_to_u8vector (SCM l);
57
58SCM scm_s8vector_p (SCM obj);
59SCM scm_make_s8vector (SCM n, SCM fill);
60SCM scm_s8vector (SCM l);
61SCM scm_s8vector_length (SCM uvec);
62SCM scm_s8vector_ref (SCM uvec, SCM index);
63SCM scm_s8vector_set_x (SCM uvec, SCM index, SCM value);
64SCM scm_s8vector_to_list (SCM uvec);
65SCM scm_list_to_s8vector (SCM l);
66
67SCM scm_u16vector_p (SCM obj);
68SCM scm_make_u16vector (SCM n, SCM fill);
69SCM scm_u16vector (SCM l);
70SCM scm_u16vector_length (SCM uvec);
71SCM scm_u16vector_ref (SCM uvec, SCM index);
72SCM scm_u16vector_set_x (SCM uvec, SCM index, SCM value);
73SCM scm_u16vector_to_list (SCM uvec);
74SCM scm_list_to_u16vector (SCM l);
75
76SCM scm_s16vector_p (SCM obj);
77SCM scm_make_s16vector (SCM n, SCM fill);
78SCM scm_s16vector (SCM l);
79SCM scm_s16vector_length (SCM uvec);
80SCM scm_s16vector_ref (SCM uvec, SCM index);
81SCM scm_s16vector_set_x (SCM uvec, SCM index, SCM value);
82SCM scm_s16vector_to_list (SCM uvec);
83SCM scm_list_to_s16vector (SCM l);
84
85SCM scm_u32vector_p (SCM obj);
86SCM scm_make_u32vector (SCM n, SCM fill);
87SCM scm_u32vector (SCM l);
88SCM scm_u32vector_length (SCM uvec);
89SCM scm_u32vector_ref (SCM uvec, SCM index);
90SCM scm_u32vector_set_x (SCM uvec, SCM index, SCM value);
91SCM scm_u32vector_to_list (SCM uvec);
92SCM scm_list_to_u32vector (SCM l);
93
94SCM scm_s32vector_p (SCM obj);
95SCM scm_make_s32vector (SCM n, SCM fill);
96SCM scm_s32vector (SCM l);
97SCM scm_s32vector_length (SCM uvec);
98SCM scm_s32vector_ref (SCM uvec, SCM index);
99SCM scm_s32vector_set_x (SCM uvec, SCM index, SCM value);
100SCM scm_s32vector_to_list (SCM uvec);
101SCM scm_list_to_s32vector (SCM l);
102
103SCM scm_u64vector_p (SCM obj);
104SCM scm_make_u64vector (SCM n, SCM fill);
105SCM scm_u64vector (SCM l);
106SCM scm_u64vector_length (SCM uvec);
107SCM scm_u64vector_ref (SCM uvec, SCM index);
108SCM scm_u64vector_set_x (SCM uvec, SCM index, SCM value);
109SCM scm_u64vector_to_list (SCM uvec);
110SCM scm_list_to_u64vector (SCM l);
111
112SCM scm_s64vector_p (SCM obj);
113SCM scm_make_s64vector (SCM n, SCM fill);
114SCM scm_s64vector (SCM l);
115SCM scm_s64vector_length (SCM uvec);
116SCM scm_s64vector_ref (SCM uvec, SCM index);
117SCM scm_s64vector_set_x (SCM uvec, SCM index, SCM value);
118SCM scm_s64vector_to_list (SCM uvec);
119SCM scm_list_to_s64vector (SCM l);
120
121SCM scm_f32vector_p (SCM obj);
122SCM scm_make_f32vector (SCM n, SCM fill);
123SCM scm_f32vector (SCM l);
124SCM scm_f32vector_length (SCM uvec);
125SCM scm_f32vector_ref (SCM uvec, SCM index);
126SCM scm_f32vector_set_x (SCM uvec, SCM index, SCM value);
127SCM scm_f32vector_to_list (SCM uvec);
128SCM scm_list_to_f32vector (SCM l);
129
130SCM scm_f64vector_p (SCM obj);
131SCM scm_make_f64vector (SCM n, SCM fill);
132SCM scm_f64vector (SCM l);
133SCM scm_f64vector_length (SCM uvec);
134SCM scm_f64vector_ref (SCM uvec, SCM index);
135SCM scm_f64vector_set_x (SCM uvec, SCM index, SCM value);
136SCM scm_f64vector_to_list (SCM uvec);
137SCM scm_list_to_f64vector (SCM l);
138
139void scm_init_srfi_4 (void);
140
141#endif /* SCM_SRFI_4_H */