MCPcopy Create free account
hub / github.com/Tencent/UnLua / add_alias

Function add_alias

Plugins/UnLuaExtensions/LuaSocket/Source/src/unix.cpp:21–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19};
20
21static void add_alias(lua_State *L, int index, const char *name, const char *target)
22{
23 lua_getfield(L, index, target);
24 lua_setfield(L, index, name);
25}
26
27static int compat_socket_unix_call(lua_State *L)
28{

Callers 1

luaopen_socket_unixFunction · 0.85

Calls 2

lua_getfieldFunction · 0.85
lua_setfieldFunction · 0.85

Tested by

no test coverage detected