| 1 | /* classes: h_files */ |
| 2 | |
| 3 | #ifndef SCM_ARRAY_MAP_H |
| 4 | #define SCM_ARRAY_MAP_H |
| 5 | |
| 6 | /* Copyright (C) 1995, 1996, 1997, 2000, 2006, 2008, 2009, 2010, |
| 7 | * 2011, 2013 Free Software Foundation, Inc. |
| 8 | * |
| 9 | * This library is free software; you can redistribute it and/or |
| 10 | * modify it under the terms of the GNU Lesser General Public License |
| 11 | * as published by the Free Software Foundation; either version 3 of |
| 12 | * the License, or (at your option) any later version. |
| 13 | * |
| 14 | * This library is distributed in the hope that it will be useful, but |
| 15 | * WITHOUT ANY WARRANTY; without even the implied warranty of |
| 16 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 17 | * Lesser General Public License for more details. |
| 18 | * |
| 19 | * You should have received a copy of the GNU Lesser General Public |
| 20 | * License along with this library; if not, write to the Free Software |
| 21 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA |
| 22 | * 02110-1301 USA |
| 23 | */ |
| 24 | |
| 25 | \f |
| 26 | |
| 27 | #include "libguile/__scm.h" |
| 28 | |
| 29 | \f |
| 30 | |
| 31 | SCM_API int scm_ra_matchp (SCM ra0, SCM ras); |
| 32 | SCM_API int scm_ramapc (void *cproc, SCM data, SCM ra0, SCM lra, |
| 33 | const char *what); |
| 34 | SCM_API SCM scm_array_fill_x (SCM ra, SCM fill); |
| 35 | SCM_API SCM scm_array_copy_x (SCM src, SCM dst); |
| 36 | SCM_API SCM scm_array_map_x (SCM ra0, SCM proc, SCM lra); |
| 37 | SCM_API SCM scm_array_for_each (SCM proc, SCM ra0, SCM lra); |
| 38 | SCM_API SCM scm_array_index_map_x (SCM ra, SCM proc); |
| 39 | SCM_API SCM scm_array_equal_p (SCM ra0, SCM ra1); |
| 40 | SCM_INTERNAL void scm_init_array_map (void); |
| 41 | |
| 42 | #if SCM_ENABLE_DEPRECATED == 1 |
| 43 | |
| 44 | SCM_DEPRECATED int scm_array_fill_int (SCM ra, SCM fill, SCM ignore); |
| 45 | SCM_DEPRECATED int scm_ra_eqp (SCM ra0, SCM ras); |
| 46 | SCM_DEPRECATED int scm_ra_lessp (SCM ra0, SCM ras); |
| 47 | SCM_DEPRECATED int scm_ra_leqp (SCM ra0, SCM ras); |
| 48 | SCM_DEPRECATED int scm_ra_grp (SCM ra0, SCM ras); |
| 49 | SCM_DEPRECATED int scm_ra_greqp (SCM ra0, SCM ras); |
| 50 | SCM_DEPRECATED int scm_ra_sum (SCM ra0, SCM ras); |
| 51 | SCM_DEPRECATED int scm_ra_difference (SCM ra0, SCM ras); |
| 52 | SCM_DEPRECATED int scm_ra_product (SCM ra0, SCM ras); |
| 53 | SCM_DEPRECATED int scm_ra_divide (SCM ra0, SCM ras); |
| 54 | SCM_DEPRECATED int scm_array_identity (SCM src, SCM dst); |
| 55 | |
| 56 | #endif /* SCM_ENABLE_DEPRECATED == 1 */ |
| 57 | |
| 58 | #endif /* SCM_ARRAY_MAP_H */ |
| 59 | |
| 60 | /* |
| 61 | Local Variables: |
| 62 | c-file-style: "gnu" |
| 63 | End: |
| 64 | */ |