1cdbadfe98
This removes the POINTER_CELLS define and all its references. * simple.make (CFLAGS): Remove -D POINTER_CELLS. * include/mes/mes.h: Remove #define POINTER_CELLS. * include/mes/cc.h: Remove !POINTER_CELLS branches. * include/mes/macros.h: Likewise. * src/gc.c: Likewise. * src/symbol.c: Likewise. * src/test/gc.c: Likewise.
43 lines
1.3 KiB
C
43 lines
1.3 KiB
C
/* -*-comment-start: "//";comment-end:""-*-
|
|
* GNU Mes --- Maxwell Equations of Software
|
|
* Copyright © 2016,2017,2018,2019 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
|
|
*
|
|
* This file is part of GNU Mes.
|
|
*
|
|
* GNU Mes is free software; you can redistribute it and/or modify it
|
|
* under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation; either version 3 of the License, or (at
|
|
* your option) any later version.
|
|
*
|
|
* GNU Mes is distributed in the hope that it will be useful, but
|
|
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
|
|
*/
|
|
|
|
#ifndef __MES_CC_H
|
|
#define __MES_CC_H
|
|
|
|
typedef struct scm* SCM;
|
|
|
|
#if __MESC__
|
|
typedef long FUNCTION;
|
|
typedef long function0_t;
|
|
typedef long function1_t;
|
|
typedef long function2_t;
|
|
typedef long function3_t;
|
|
typedef long functionn_t;
|
|
#else // !__MESC__
|
|
typedef SCM (*FUNCTION) (void);
|
|
typedef SCM (*function0_t) (void);
|
|
typedef SCM (*function1_t) (SCM);
|
|
typedef SCM (*function2_t) (SCM, SCM);
|
|
typedef SCM (*function3_t) (SCM, SCM, SCM);
|
|
typedef SCM (*functionn_t) (SCM);
|
|
#endif // !__MESC__
|
|
|
|
#endif //__MES_CC_H
|