PushGoFunction pushes a Function implemented in Go onto the stack. http://www.lua.org/manual/5.2/manual.html#lua_pushcfunction
(f Function)
| 1483 | // |
| 1484 | // http://www.lua.org/manual/5.2/manual.html#lua_pushcfunction |
| 1485 | func (l *State) PushGoFunction(f Function) { l.PushGoClosure(f, 0) } |
| 1486 | |
| 1487 | // IsFunction verifies that the value at index is a function, either Go or |
| 1488 | // Lua function. |