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

Function pb_freetable

Plugins/UnLuaExtensions/LuaProtobuf/Source/src/pb.h:861–862  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

859{ memset(t, 0, sizeof(pb_Table)), t->entry_size = (unsigned)entrysize; }
860
861PB_API void pb_freetable(pb_Table *t)
862{ free(t->hash); pb_inittable(t, t->entry_size); }
863
864static pb_Entry *pbT_hash(const pb_Table *t, pb_Key key) {
865 size_t h = ((size_t)key*2654435761U)&(t->size-1);

Callers 2

pb_freeFunction · 0.85
pb_deltypeFunction · 0.85

Calls 1

pb_inittableFunction · 0.85

Tested by

no test coverage detected