MCPcopy Create free account
hub / github.com/Thinkofname/UniverCity / execute_named_string

Method execute_named_string

lua/src/lib.rs:109–157  ·  view source on GitHub ↗

Loads and executes the passed string converting and returning the results of executing the string. The loaded script will have the passed name This is works like lua's `loadstring` and will execute bytecode if passed it.

(&self, name: &str, script: &str)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

execute_stringMethod · 0.80

Calls 3

newFunction · 0.85
lua_popFunction · 0.85
into_ownedMethod · 0.45

Tested by

no test coverage detected