Douglas Gregor | 84febf4 | 2011-11-16 05:16:30 +0000 | [diff] [blame] | 1 | #define MODULE |
| 2 | #define INTEGER(X) int |
| 3 | #define FLOAT float |
| 4 | #define DOUBLE double |
| 5 | |
Douglas Gregor | 663b48f | 2012-01-03 19:48:16 +0000 | [diff] [blame] | 6 | #__public_macro INTEGER |
| 7 | #__private_macro FLOAT |
| 8 | #__private_macro MODULE |
Douglas Gregor | 84febf4 | 2011-11-16 05:16:30 +0000 | [diff] [blame] | 9 | |
| 10 | int (INTEGER); |
Douglas Gregor | c83de30 | 2012-09-25 15:44:52 +0000 | [diff] [blame] | 11 | |
| 12 | #if !__building_module(macros) |
| 13 | # error Can't include this header without building the 'macros' module. |
| 14 | #endif |
| 15 | |
| 16 | #ifdef __MODULE__ |
| 17 | extern int __MODULE__; |
| 18 | #endif |
| 19 | |
Richard Smith | 2a55308 | 2015-04-23 22:58:06 +0000 | [diff] [blame] | 20 | #include "macros-indirect.h" |