template<user_type T>
struct nngn::lua::stack_push< T >
Pushes a value convertible to lua_Integer
.
Pushes a user type as a full user data value.
Pushes one of the libraries native stack types (e.g.
Pushes the call operator of a stateless lambda.
Convenience specialization for the lua_CFunction
overload.
Pushes an enum
value if its underlying integral type can be pushed.
Pushes a value convertible to lua_Number
.
Explicit casting is required for types whose values cannot be fully represented by a lua_Integer
.
- See also
- nngn::lua::integer
Same rules as the lua_Integer
specialization.
- See also
- nngn::lua::number
Pushes callables which can be converted to a Lua function.
table).
A copy of the value is pushed.
- See also
- NNGN_LUA_DECLARE_USER_TYPE A type must be explicitly declared as a user type for this overload to be used.