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 |
|
Emmanuel Gil Peyrot
|
668dc534b6
|
util.net: Fix signedness warning on ARM
net.c:87:56: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
|
2020-01-30 14:22:21 +01:00 |
|
Emmanuel Gil Peyrot
|
a149dda0e3
|
util.*.c: Add static qualifiers everywhere
|
2019-12-01 20:25:20 +01:00 |
|
Emmanuel Gil Peyrot
|
9d9392a941
|
net, pposix, signal: Check for redefined defines, fix warnings.
|
2018-08-08 09:27:34 +02:00 |
|
Kim Alvefur
|
4816e879f8
|
util.net: Add bindings to inet_ntop and inet_pton
|
2017-11-26 02:26:13 +01:00 |
|
Kim Alvefur
|
384687ffa4
|
util-src: Specify size of various tables to be allocated
|
2017-03-09 01:20:59 +01:00 |
|
Kim Alvefur
|
d205c78327
|
util.pposix, configure: Move _GNU_SOURCE macro into source files
|
2017-03-01 22:27:11 +01: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
|
c57e98cd7d
|
util-src/*.c: Don't create globals when loaded
|
2014-09-16 21:56:18 +02:00 |
|
Kim Alvefur
|
beb69a4ab0
|
util.net: Fix s2sout on Windows (return 0.0.0.0 and :: instead of an empty list)
|
2013-08-30 16:14:31 +02:00 |
|
Matthew Wild
|
6575f3a4e9
|
util.net: Fix compilation on Windows (outputs an empty list of addresses for now) (tested only in my head)
|
2013-07-15 23:43:20 +01:00 |
|
Matthew Wild
|
8dd5866eda
|
util.net: Include missing header needed for successful compiltion on FreeBSD
|
2013-07-15 23:34:59 +01:00 |
|
Matthew Wild
|
c4d2d22648
|
util.net: Add util.net, containing local_addresses() (removed from LuaSocket 3.0)
|
2013-06-18 09:04:44 +01:00 |
|