[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Build configuration via defines
- From: Roberto Ierusalimschy <roberto@...>
- Date: Mon, 9 Jul 2018 10:52:17 -0300
> > Several configurations affect the API. So, if you compile Lua with
> > some options and then compile your code with other options, they will
> > not match.
>
> That is the issue I was trying to say above.
> I proposed that this issue could be avoided by compiling the values
> into the binary.
> e.g. a new function: const char* lua_compilation_flags(const char* flag_name);
How can I use this function to define a type of a compile-time constant?
-- Roberto