constants.h (1701B)
1 /* -*-comment-start: "//";comment-end:""-*- 2 * GNU Mes --- Maxwell Equations of Software 3 * Copyright © 2016,2017,2018,2019,2022 Jan (janneke) Nieuwenhuizen <janneke@gnu.org> 4 * 5 * This file is part of GNU Mes. 6 * 7 * GNU Mes is free software; you can redistribute it and/or modify it 8 * under the terms of the GNU General Public License as published by 9 * the Free Software Foundation; either version 3 of the License, or (at 10 * your option) any later version. 11 * 12 * GNU Mes is distributed in the hope that it will be useful, but 13 * WITHOUT ANY WARRANTY; without even the implied warranty of 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 * GNU General Public License for more details. 16 * 17 * You should have received a copy of the GNU General Public License 18 * along with GNU Mes. If not, see <http://www.gnu.org/licenses/>. 19 */ 20 21 #ifndef __MES_CONSTANTS_H 22 #define __MES_CONSTANTS_H 23 24 /* Cell types */ 25 26 #define TCHAR 0 27 28 #define TBYTES 1 29 #define TCLOSURE 2 30 #define TCONTINUATION 3 31 #define TKEYWORD 4 32 #define TMACRO 5 33 #define TNUMBER 6 34 #define TPAIR 7 35 #define TPORT 8 36 #define TREF 9 37 #define TSPECIAL 10 38 #define TSTRING 11 39 #define TSTRUCT 12 40 #define TSYMBOL 13 41 #define TVALUES 14 42 #define TBINDING 15 43 #define TVECTOR 16 44 #define TBROKEN_HEART 17 45 46 /* Struct types */ 47 48 #define STRUCT_TYPE 0 49 #define STRUCT_PRINTER 1 50 51 #define GC_FRAME_SIZE 5 52 #define GC_FRAME_PROCEDURE 4 53 54 #define MODULE_OBARRAY 3 55 #define MODULE_USES 4 56 #define MODULE_BINDER 5 57 #define MODULE_EVAL_CLOSURE 6 58 59 #endif /* __MES_CONSTANTS_H */