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

Function global_unload

Plugins/UnLuaExtensions/LuaSocket/Source/src/luasocket.cpp:65–69  ·  view source on GitHub ↗

-------------------------------------------------------------------------*\ * Unloads the library \*-------------------------------------------------------------------------*/

Source from the content-addressed store, hash-verified

63* Unloads the library
64\*-------------------------------------------------------------------------*/
65static int global_unload(lua_State *L) {
66 (void) L;
67 socket_close();
68 return 0;
69}
70
71/*-------------------------------------------------------------------------*\
72* Setup basic stuff.

Callers

nothing calls this directly

Calls 1

socket_closeFunction · 0.70

Tested by

no test coverage detected