MCPcopy Create free account
hub / github.com/dmlc/dmlc-core / Push

Method Push

include/dmlc/lua.h:352–359  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

350 return ret;
351 }
352 static inline void Push(lua_State* L, const ContainerType& v) {
353 lua_createtable(L, v.size(), 0);
354 for (const auto& kv : v) {
355 Handler<K>::Push(L, kv.first);
356 Handler<V>::Push(L, kv.second);
357 lua_settable(L, -3);
358 }
359 }
360};
361
362struct UndefinedHandler {

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected