PushUserData is similar to PushLightUserData, but pushes a full userdata onto the stack.
(d interface{})
| 1461 | // PushUserData is similar to PushLightUserData, but pushes a full userdata |
| 1462 | // onto the stack. |
| 1463 | func (l *State) PushUserData(d interface{}) { l.apiPush(&userData{data: d}) } |
| 1464 | |
| 1465 | // Length of the value at index; it is equivalent to the # operator in |
| 1466 | // Lua. The result is pushed on the stack. |