* }}} */ * register operations {{{ */
(name string, fn LGFunction)
| 1790 | /* register operations {{{ */ |
| 1791 | |
| 1792 | func (ls *LState) Register(name string, fn LGFunction) { |
| 1793 | ls.SetGlobal(name, ls.NewFunction(fn)) |
| 1794 | } |
| 1795 | |
| 1796 | /* }}} */ |
| 1797 |
nothing calls this directly
no test coverage detected