/* mapfun.c -- Mapping. */ /* Copyright (c) 1993, Giuseppe Attardi. Copyright (c) 2001, Juan Jose Garcia Ripoll. ECL is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. See file '../Copyright' for full details. */ #include "ecl.h" static cl_index prepare_map(cl_va_list lists, cl_index *cdrs_sp) { cl_index i, nlist = lists[0].narg; *cdrs_sp = cl_stack_index(); if (nlist == 0) FEprogram_error("MAP*: Too few arguments.", 0); cl_stack_push_va_list(lists); for (i = 0; i