1
/*===========================================================================
2
* Filename : functable-sscm-ext.c
3
* About : Built-in function table
4
* This file is auto-generated by build_func_table.rb
6
* Copyright (C) 2005-2006 Kazuki Ohta <mover AT hct.zaq.ne.jp>
7
* Copyright (c) 2007-2008 SigScheme Project <uim-en AT googlegroups.com>
11
* Redistribution and use in source and binary forms, with or without
12
* modification, are permitted provided that the following conditions
15
* 1. Redistributions of source code must retain the above copyright
16
* notice, this list of conditions and the following disclaimer.
17
* 2. Redistributions in binary form must reproduce the above copyright
18
* notice, this list of conditions and the following disclaimer in the
19
* documentation and/or other materials provided with the distribution.
20
* 3. Neither the name of authors nor the names of its contributors
21
* may be used to endorse or promote products derived from this software
22
* without specific prior written permission.
24
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS
25
* IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
26
* THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
27
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR
28
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
29
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
30
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
31
* OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
32
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
33
* OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
34
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
35
===========================================================================*/
39
#include "sigscheme.h"
42
static const struct scm_func_registration_info scm_functable_sscm_ext[] = {
43
/* module-sscm-ext.c */
44
{ "symbol-bound?", (ScmFuncType)scm_p_symbol_boundp, SCM_PROCEDURE_VARIADIC_1 },
45
{ "sscm-version", (ScmFuncType)scm_p_sscm_version, SCM_PROCEDURE_FIXED_0 },
46
{ "%%current-environment", (ScmFuncType)scm_p_current_environment, SCM_PROCEDURE_FIXED_TAILREC_0 },
47
{ "%%current-char-codec", (ScmFuncType)scm_p_current_char_codec, SCM_PROCEDURE_FIXED_0 },
48
{ "%%set-current-char-codec!", (ScmFuncType)scm_p_set_current_char_codecx, SCM_PROCEDURE_FIXED_1 },
49
{ "%%prealloc-heaps", (ScmFuncType)scm_p_prealloc_heaps, SCM_PROCEDURE_FIXED_1 },
50
{ "%%pair-mutable?", (ScmFuncType)scm_p_pair_mutablep, SCM_PROCEDURE_FIXED_1 },
51
{ "fixnum-width", (ScmFuncType)scm_p_fixnum_width, SCM_PROCEDURE_FIXED_0 },
52
{ "least-fixnum", (ScmFuncType)scm_p_least_fixnum, SCM_PROCEDURE_FIXED_0 },
53
{ "greatest-fixnum", (ScmFuncType)scm_p_greatest_fixnum, SCM_PROCEDURE_FIXED_0 },
54
{ "require", (ScmFuncType)scm_p_require, SCM_PROCEDURE_FIXED_1 },
55
{ "provide", (ScmFuncType)scm_p_provide, SCM_PROCEDURE_FIXED_1 },
56
{ "provided?", (ScmFuncType)scm_p_providedp, SCM_PROCEDURE_FIXED_1 },
57
{ "length*", (ScmFuncType)scm_p_lengthstar, SCM_PROCEDURE_FIXED_1 },
58
{ "exit", (ScmFuncType)scm_p_exit, SCM_PROCEDURE_VARIADIC_0 },
59
{ "let-optionals*", (ScmFuncType)scm_s_let_optionalsstar, SCM_SYNTAX_VARIADIC_TAILREC_2 },
61
{ NULL, NULL, SCM_FUNCTYPE_INVALID }