MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / load

Method load

source/core/StarLua.cpp:87–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

85}
86
87void LuaContext::load(char const* contents, size_t size, char const* name) {
88 engine().contextLoad(handleIndex(), contents, size, name);
89}
90
91void LuaContext::load(String const& contents, String const& name) {
92 load(contents.utf8Ptr(), contents.utf8Size(), name.utf8Ptr());

Callers 10

changeStateMethod · 0.45
formatFunction · 0.45
TESTFunction · 0.45
TESTFunction · 0.45
singletonPtrMethod · 0.45
StarRootBase.cppFile · 0.45
AssetsMethod · 0.45
readImageMethod · 0.45
readJsonMethod · 0.45
selectPreviewMethod · 0.45

Calls 5

contextLoadMethod · 0.80
utf8PtrMethod · 0.45
utf8SizeMethod · 0.45
ptrMethod · 0.45
sizeMethod · 0.45

Tested by 2

TESTFunction · 0.36
TESTFunction · 0.36