1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/// Structure that represents additional configuration for Lua
/// which cannot be done with command-line definitions.
///
/// # Preparation of Lua source
/// This structure cannot be used with a normal Lua source distribution,
/// as the settings are not able to be modified per Lua build.
/// `luaconf.h` *must* contain (preferably, in the "local configuration" section) definitions for each field
/// with `#if defined(...)` guards.
///
/// For instance, the following snippet for `no_string_to_number` and `extra_space` respectively is appropriate,
/// assuming it's placed in the "local configuration" section:
/// ```c
/// #if defined(LUNKA_NOCVTS2N)
/// #define LUA_NOCVTS2N
/// #endif
///
/// #if defined(LUNKA_EXTRASPACE)
/// #define LUA_EXTRASPACE LUNKA_EXTRASPACE
/// #endif
/// ```