Compiles with Lua 5.1.4 and Lua 5.2.0-beta, although the makefile needs sorting out to take maybe a version number and also the local paths need removing.
This commit is contained in:
parent
a984607f28
commit
e15ed19db6
17 changed files with 70 additions and 49 deletions
|
@ -22,7 +22,7 @@ static void inet_pushresolved(lua_State *L, struct hostent *hp);
|
|||
static int inet_global_gethostname(lua_State *L);
|
||||
|
||||
/* DNS functions */
|
||||
static luaL_reg func[] = {
|
||||
static luaL_Reg func[] = {
|
||||
{ "toip", inet_global_toip},
|
||||
{ "getaddrinfo", inet_global_getaddrinfo},
|
||||
{ "tohostname", inet_global_tohostname},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue