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

Method eval

source/core/StarLua.hpp:1840–1842  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1838
1839template <typename Ret>
1840Ret LuaContext::eval(String const& lua) {
1841 return LuaDetail::FromFunctionReturn<Ret>::convert(engine(), engine().contextEval(handleIndex(), lua));
1842}
1843
1844template <typename Ret, typename... Args>
1845Ret LuaContext::invokePath(String const& key, Args const&... args) const {

Callers 2

TESTFunction · 0.45
TESTFunction · 0.45

Calls 2

convertFunction · 0.85
contextEvalMethod · 0.80

Tested by 2

TESTFunction · 0.36
TESTFunction · 0.36