| 1 | /* C -> Haskell Compiler: configuration query header |
| 2 | * |
| 3 | * Author : Manuel M T Chakravarty |
| 4 | * Created: 12 November 1 |
| 5 | * |
| 6 | * Version $Revision: 1.1 $ from $Date: 2004/11/21 21:05:42 $ |
| 7 | * |
| 8 | * Copyright (c) 2001 Manuel M T Chakravarty |
| 9 | * |
| 10 | * This file is free software; you can redistribute it and/or modify |
| 11 | * it under the terms of the GNU General Public License as published by |
| 12 | * the Free Software Foundation; either version 2 of the License, or |
| 13 | * (at your option) any later version. |
| 14 | * |
| 15 | * This file is distributed in the hope that it will be useful, |
| 16 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 17 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 18 | * GNU General Public License for more details. |
| 19 | * |
| 20 | * DESCRIPTION --------------------------------------------------------------- |
| 21 | * |
| 22 | * Interface to the runtime configuration query functions. |
| 23 | * |
| 24 | * TODO ---------------------------------------------------------------------- |
| 25 | */ |
| 26 | |
| 27 | #ifndef C2HS_CONFIG |
| 28 | #define C2HS_CONFIG |
| 29 | |
| 30 | /* routines querying C compiler properties |
| 31 | */ |
| 32 | int bitfield_direction (); /* direction in which bitfields are growing */ |
| 33 | int bitfield_padding (); /* use padding for overspilling bitfields? */ |
| 34 | int bitfield_int_signed (); /* is an `int' bitfield signed? */ |
| 35 | int bitfield_alignment (); /* alignment constraint for bitfields */ |
| 36 | |
| 37 | #endif /* C2HS_CONFIG*/ |