PushLightUserData pushes a light user data onto the stack. Userdata represents Go values in Lua. A light userdata is an interface{}. Its equality matches the Go rules (http://golang.org/ref/spec#Comparison_operators). http://www.lua.org/manual/5.2/manual.html#lua_pushlightuserdata
(d interface{})
| 1457 | // |
| 1458 | // http://www.lua.org/manual/5.2/manual.html#lua_pushlightuserdata |
| 1459 | func (l *State) PushLightUserData(d interface{}) { l.apiPush(d) } |
| 1460 | |
| 1461 | // PushUserData is similar to PushLightUserData, but pushes a full userdata |
| 1462 | // onto the stack. |