(l *State, b, name, mode string)
| 525 | func LoadString(l *State, s string) error { return LoadBuffer(l, s, s, "") } |
| 526 | |
| 527 | func LoadBuffer(l *State, b, name, mode string) error { |
| 528 | return l.Load(strings.NewReader(b), name, mode) |
| 529 | } |
| 530 | |
| 531 | // NewStateEx creates a new Lua state. It calls NewState and then sets a panic |
| 532 | // function that prints an error message to the standard error output in case |
no test coverage detected
searching dependent graphs…