new server "sj3proxy".
this server is communicating between unix domain and inet.
This commit is contained in:
parent
d2223576d0
commit
7e097c2015
16 changed files with 738 additions and 21 deletions
|
|
@ -119,3 +119,11 @@ sj2lua_string(lua_State *lstate, char *name, char *s)
|
|||
lua_pushstring(lstate, s);
|
||||
lua_settable(lstate, -3);
|
||||
}
|
||||
|
||||
void
|
||||
set_luafunction(lua_State *lstate, char *name, lua_CFunction fun)
|
||||
{
|
||||
lua_pushstring(lstate, name);
|
||||
lua_pushcfunction(lstate, fun);
|
||||
lua_settable(lstate, -3);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue