Kim Alvefur
|
dff4beae02
|
util-src: Remove Lua 5.1 compat macros
Part of #1600
|
2022-07-01 21:21:21 +02:00 |
|
Kim Alvefur
|
625ec0a93f
|
util-src: Use the luaL_pushfail API added in Lua 5.4 to highlight all failure conditions
Actually just an alias of pushnil, but it does make it more obvious
where the failure conditions are, which is good for readability.
|
2020-06-07 02:25:56 +02:00 |
|
Kim Alvefur
|
40d8e257d8
|
util-src/*.c: Attach pointer * to name instead of type
|
2017-02-12 16:42:29 +01:00 |
|
Kim Alvefur
|
5b10d245e3
|
util-src: Make C modules assert that the Lua runtime matches what it was compiled for
|
2017-01-08 14:21:08 +01:00 |
|
Kim Alvefur
|
ddeed6873e
|
util-src/*.c: Invert Lua 5.2 compat to be 5.2+ by default and a macro to support 5.1
|
2015-04-26 12:38:37 +02:00 |
|
Kim Alvefur
|
e866ef555a
|
util-src/*.c: astyle --indent=tab --brackets=attach --indent-switches --break-blocks --pad-oper --unpad-paren --add-brackets --align-pointer=type --lineend=linux
|
2015-04-03 19:52:48 +02:00 |
|
Kim Alvefur
|
8affcc3ff7
|
util-src/*.c: Add macro for compiling with Lua 5.2
|
2014-09-17 14:30:29 +02:00 |
|
Kim Alvefur
|
4f6f0fe480
|
util-src/*.c: Use the more concise lua_setfield
|
2014-09-17 02:23:17 +02:00 |
|
Kim Alvefur
|
c57e98cd7d
|
util-src/*.c: Don't create globals when loaded
|
2014-09-16 21:56:18 +02:00 |
|
Waqas Hussain
|
3b6c5dc15e
|
util.windows: Incorrect output buffer size passed to ReadConsoleOutputAttribute (fixes issue#362, thanks yanjun).
|
2013-10-10 17:18:16 -04:00 |
|
Waqas Hussain
|
30be4fa585
|
windows.c: Return nil,err from functions instead of throwing errors.
|
2011-01-29 04:40:43 +05:00 |
|
Waqas Hussain
|
d3aac67ca6
|
util-src/windows.c: Added get_consolecolor, set_consolecolor.
|
2010-12-15 01:53:33 +05:00 |
|
Matthew Wild
|
7fd387c390
|
util.windows: Convert from Windows line endings
|
2010-03-22 17:16:28 +00:00 |
|
Matthew Wild
|
2bc0606453
|
Update copyright headers for 2010
|
2010-03-22 17:06:15 +00:00 |
|
Waqas Hussain
|
5b2d9e2f87
|
util.windows: Initial commit. Adds support for querying the windows DNS API for nameservers.
|
2009-10-31 04:58:23 +05:00 |
|