| 1 | #include <stddef.h> |
|---|---|
| 2 | #include "api.h" |
| 3 | |
| 4 | #if defined(TIC_BUILD_WITH_MRUBY) |
| 5 | extern tic_script_config MRubySyntaxConfig; |
| 6 | #endif |
| 7 | |
| 8 | #if defined(TIC_BUILD_WITH_JS) |
| 9 | extern tic_script_config JsSyntaxConfig; |
| 10 | #endif |
| 11 | |
| 12 | #if defined (TIC_BUILD_WITH_LUA) |
| 13 | extern tic_script_config LuaSyntaxConfig; |
| 14 | #endif |
| 15 | |
| 16 | #if defined(TIC_BUILD_WITH_MOON) |
| 17 | extern tic_script_config MoonSyntaxConfig; |
| 18 | #endif |
| 19 | |
| 20 | #if defined(TIC_BUILD_WITH_FENNEL) |
| 21 | extern tic_script_config FennelSyntaxConfig; |
| 22 | #endif |
| 23 | |
| 24 | #if defined(TIC_BUILD_WITH_SQUIRREL) |
| 25 | extern tic_script_config SquirrelSyntaxConfig; |
| 26 | #endif |
| 27 | |
| 28 | #if defined(TIC_BUILD_WITH_WREN) |
| 29 | extern tic_script_config WrenSyntaxConfig; |
| 30 | #endif |
| 31 | |
| 32 | #if defined(TIC_BUILD_WITH_WASM) |
| 33 | extern tic_script_config WasmSyntaxConfig; |
| 34 | #endif |
| 35 | |
| 36 | |
| 37 | tic_script_config* Languages[] = { |
| 38 | |
| 39 | #if defined (TIC_BUILD_WITH_LUA) |
| 40 | &LuaSyntaxConfig, |
| 41 | #endif |
| 42 | |
| 43 | #if defined(TIC_BUILD_WITH_MRUBY) |
| 44 | &MRubySyntaxConfig, |
| 45 | #endif |
| 46 | |
| 47 | #if defined(TIC_BUILD_WITH_JS) |
| 48 | &JsSyntaxConfig, |
| 49 | #endif |
| 50 | |
| 51 | #if defined(TIC_BUILD_WITH_MOON) |
| 52 | &MoonSyntaxConfig, |
| 53 | #endif |
| 54 | |
| 55 | #if defined(TIC_BUILD_WITH_FENNEL) |
| 56 | &FennelSyntaxConfig, |
| 57 | #endif |
| 58 | |
| 59 | #if defined(TIC_BUILD_WITH_SQUIRREL) |
| 60 | &SquirrelSyntaxConfig, |
| 61 | #endif |
| 62 | |
| 63 | #if defined(TIC_BUILD_WITH_WREN) |
| 64 | &WrenSyntaxConfig, |
| 65 | #endif |
| 66 | |
| 67 | #if defined(TIC_BUILD_WITH_WASM) |
| 68 | &WasmSyntaxConfig, |
| 69 | #endif |
| 70 | |
| 71 | NULL}; |
| 72 | |
| 73 |