findloc1.m4 revision 1.1 1 1.1 mrg dnl Support macros for findloc.
2 1.1 mrg dnl This file is part of the GNU Fortran Runtime Library (libgfortran)
3 1.1 mrg dnl Distributed under the GNU GPL with exception. See COPYING for details.
4 1.1 mrg include(iparm.m4)dnl
5 1.1 mrg define(header1,`extern void findloc1_'atype_code` (gfc_array_index_type * const restrict retarray,
6 1.1 mrg 'atype` * const restrict array, 'atype_name` value,
7 1.1 mrg const 'index_type` * restrict pdim, GFC_LOGICAL_4 back);
8 1.1 mrg export_proto(findloc1_'atype_code`);
9 1.1 mrg
10 1.1 mrg extern void
11 1.1 mrg findloc1_'atype_code` (gfc_array_index_type * const restrict retarray,
12 1.1 mrg 'atype` * const restrict array, 'atype_name` value,
13 1.1 mrg const 'index_type` * restrict pdim, GFC_LOGICAL_4 back)')dnl
14 1.1 mrg dnl
15 1.1 mrg define(header2,`extern void mfindloc1_'atype_code` (gfc_array_index_type * const restrict retarray,
16 1.1 mrg 'atype` * const restrict array, 'atype_name` value,
17 1.1 mrg const 'index_type` * restrict pdim, gfc_array_l1 *const restrict mask,
18 1.1 mrg GFC_LOGICAL_4 back);
19 1.1 mrg export_proto(mfindloc1_'atype_code`);
20 1.1 mrg
21 1.1 mrg extern void
22 1.1 mrg mfindloc1_'atype_code` (gfc_array_index_type * const restrict retarray,
23 1.1 mrg 'atype` * const restrict array, 'atype_name` value,
24 1.1 mrg const 'index_type` * restrict pdim, gfc_array_l1 *const restrict mask,
25 1.1 mrg GFC_LOGICAL_4 back)')dnl
26 1.1 mrg define(header3,`extern void sfindloc1_'atype_code` (gfc_array_index_type * const restrict retarray,
27 1.1 mrg 'atype` * const restrict array, 'atype_name` value,
28 1.1 mrg const 'index_type` * restrict pdim, GFC_LOGICAL_4 *const restrict mask,
29 1.1 mrg GFC_LOGICAL_4 back);
30 1.1 mrg export_proto(sfindloc1_'atype_code`);
31 1.1 mrg
32 1.1 mrg extern void
33 1.1 mrg sfindloc1_'atype_code` (gfc_array_index_type * const restrict retarray,
34 1.1 mrg 'atype` * const restrict array, 'atype_name` value,
35 1.1 mrg const 'index_type` * restrict pdim, GFC_LOGICAL_4 *const restrict mask,
36 1.1 mrg GFC_LOGICAL_4 back)')dnl
37 1.1 mrg define(comparison,`*src == value')dnl
38 1.1 mrg define(len_arg,`')dnl
39 1.1 mrg define(base_mult,1)dnl
40 1.1 mrg include(ifindloc1.m4)dnl
41