| 1 | /* -*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*- */ |
| 2 | /* vim: set filetype=c tabstop=8 shiftwidth=4 expandtab: */ |
| 3 | |
| 4 | /* |
| 5 | * Copyright (c) 1990, Giuseppe Attardi. |
| 6 | * |
| 7 | * See file 'LICENSE' for the copyright details. |
| 8 | * |
| 9 | */ |
| 10 | /* page.h -- Page macros. */ |
| 11 | #ifdef __cplusplus |
| 12 | extern "C" { |
| 13 | #endif |
| 14 | |
| 15 | /***************************** |
| 16 | * BOEHM's GARBAGE COLLECTOR * |
| 17 | *****************************/ |
| 18 | |
| 19 | #ifdef GBC_BOEHM |
| 20 | #ifdef ECL_THREADS |
| 21 | #define GC_THREADS |
| 22 | #endif |
| 23 | |
| 24 | extern struct typemanager { |
| 25 | const char *tm_name; |
| 26 | cl_index tm_size; |
| 27 | } tm_table[(int)t_end]; |
| 28 | |
| 29 | #define tm_of(t) (&tm_table[(int)(t)]) |
| 30 | #endif |
| 31 | |
| 32 | /******************************* |
| 33 | * SYMBOLS & KEYWORDS DATABASE * |
| 34 | *******************************/ |
| 35 | |
| 36 | #ifdef __cplusplus |
| 37 | } |
| 38 | #endif |