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

Function Lbuf_delete

Plugins/UnLuaExtensions/LuaProtobuf/Source/src/pb.cpp:783–787  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

781}
782
783static int Lbuf_delete(lua_State *L) {
784 pb_Buffer *buf = test_buffer(L, 1);
785 if (buf) pb_resetbuffer(buf);
786 return 0;
787}
788
789static int Lbuf_libcall(lua_State *L) {
790 int i, top = lua_gettop(L);

Callers

nothing calls this directly

Calls 1

pb_resetbufferFunction · 0.85

Tested by

no test coverage detected