~ubuntu-branches/ubuntu/maverick/uim/maverick

« back to all changes in this revision

Viewing changes to sigscheme/src/functable-sscm-ext.c

  • Committer: Bazaar Package Importer
  • Author(s): Masahito Omote
  • Date: 2008-06-25 19:56:33 UTC
  • mfrom: (3.1.18 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080625195633-8jljph4rfq00l8o7
Tags: 1:1.5.1-2
* uim-tcode: provide tutcode-custom.scm, tutcode-bushudic.scm
  and tutcode-rule.scm (Closes: #482659)
* Fix FTBFS: segv during compile (Closes: #483078).
  I personally think this bug is not specific for uim but is a optimization
  problem on gcc-4.3.1. (https://bugs.freedesktop.org/show_bug.cgi?id=16477)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*===========================================================================
 
2
 *  Filename : functable-sscm-ext.c
 
3
 *  About    : Built-in function table
 
4
 *             This file is auto-generated by build_func_table.rb
 
5
 *
 
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>
 
8
 *
 
9
 *  All rights reserved.
 
10
 *
 
11
 *  Redistribution and use in source and binary forms, with or without
 
12
 *  modification, are permitted provided that the following conditions
 
13
 *  are met:
 
14
 *
 
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.
 
23
 *
 
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
===========================================================================*/
 
36
 
 
37
#include <stddef.h>
 
38
 
 
39
#include "sigscheme.h"
 
40
 
 
41
 
 
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 },
 
60
 
 
61
    { NULL, NULL, SCM_FUNCTYPE_INVALID }
 
62
};