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

Function LoadString

auxiliary.go:525–525  ·  view source on GitHub ↗
(l *State, s string)

Source from the content-addressed store, hash-verified

523}
524
525func LoadString(l *State, s string) error { return LoadBuffer(l, s, s, "") }
526
527func LoadBuffer(l *State, b, name, mode string) error {
528 return l.Load(strings.NewReader(b), name, mode)

Callers 11

TestEmptyStringFunction · 0.85
testStringHelperFunction · 0.85
TestProtectedCallFunction · 0.85
benchmarkSortFunction · 0.85
BenchmarkFibonnaciFunction · 0.85
TestUserDataEqualityNilFunction · 0.85
TestErrorFunction · 0.85
TestErrorfFunction · 0.85
DoStringFunction · 0.85

Calls 1

LoadBufferFunction · 0.85

Tested by 10

TestEmptyStringFunction · 0.68
testStringHelperFunction · 0.68
TestProtectedCallFunction · 0.68
benchmarkSortFunction · 0.68
BenchmarkFibonnaciFunction · 0.68
TestUserDataEqualityNilFunction · 0.68
TestErrorFunction · 0.68
TestErrorfFunction · 0.68