MCPcopy Index your code
hub / github.com/Shopify/go-lua / DoString

Function DoString

auxiliary.go:584–589  ·  view source on GitHub ↗

DoString loads and runs the given string.

(l *State, s string)

Source from the content-addressed store, hash-verified

582
583// DoString loads and runs the given string.
584func DoString(l *State, s string) error {
585 if err := LoadString(l, s); err != nil {
586 return err
587 }
588 return l.ProtectedCall(0, MultipleReturns, 0)
589}

Callers

nothing calls this directly

Calls 2

LoadStringFunction · 0.85
ProtectedCallMethod · 0.80

Tested by

no test coverage detected