GNU PROLOG with UTF8 support
b_params.h
Go to the documentation of this file.
1 /*-------------------------------------------------------------------------*
2  * GNU Prolog *
3  * *
4  * Part : Prolog buit-in predicates *
5  * File : b_params.h *
6  * Descr.: parameter header file *
7  * Author: Daniel Diaz *
8  * *
9  * Copyright (C) 1999-2015 Daniel Diaz *
10  * *
11  * This file is part of GNU Prolog *
12  * *
13  * GNU Prolog is free software: you can redistribute it and/or *
14  * modify it under the terms of either: *
15  * *
16  * - the GNU Lesser General Public License as published by the Free *
17  * Software Foundation; either version 3 of the License, or (at your *
18  * option) any later version. *
19  * *
20  * or *
21  * *
22  * - the GNU General Public License as published by the Free *
23  * Software Foundation; either version 2 of the License, or (at your *
24  * option) any later version. *
25  * *
26  * or both in parallel, as here. *
27  * *
28  * GNU Prolog is distributed in the hope that it will be useful, *
29  * but WITHOUT ANY WARRANTY; without even the implied warranty of *
30  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
31  * General Public License for more details. *
32  * *
33  * You should have received copies of the GNU General Public License and *
34  * the GNU Lesser General Public License along with this program. If *
35  * not, see http://www.gnu.org/licenses/. *
36  *-------------------------------------------------------------------------*/
37 
38 
39 #define MAX_VAR_NAME_LENGTH 1024
40 
41 #define MAX_VAR_IN_TERM 32768
42 
43 #define MAX_SYS_VARS 256
44 
45 /* to return an hash as a Tagged INT use a modulo with HASH_MOD_VALUE
46  * it is the 1+max_integer on 32 bits
47  */
48 #define HASH_MOD_VALUE (1 << (32 - TAG_SIZE - 1))
49 
50 
51 /* ISO DTC2 seems to allow layout chars between minus sign and the number */
52 #if 1
53 #define MINUS_SIGN_CAN_BE_FOLLOWED_BY_SPACES
54 #endif