| 1 | /* |
| 2 | * enum.c - enumerate all charsets defined by the library. |
| 3 | * |
| 4 | * This file maintains a list of every other source file which |
| 5 | * contains ENUM_CHARSET definitions. It #includes each one with |
| 6 | * ENUM_CHARSETS defined, which causes those source files to do |
| 7 | * nothing at all except call the ENUM_CHARSET macro on each |
| 8 | * charset they define. |
| 9 | * |
| 10 | * This file in turn is included from various other places, with |
| 11 | * the ENUM_CHARSET macro defined to various different things. This |
| 12 | * allows us to have multiple implementations of the master charset |
| 13 | * lookup table (a static one and a dynamic one). |
| 14 | */ |
| 15 | |
| 16 | #define ENUM_CHARSETS |
| 17 | #include "sbcsdat.c" |
| 18 | #include "utf8.c" |
| 19 | #undef ENUM_CHARSETS |