来源:lua
浏览 373
扫码
分享
2020-04-25 13:38:16
8.3 – Changes in the API
- Continuation functions now receive as arguments what they needed to get through
lua_getctx
, so lua_getctx
has been removed. Adapt your code accordingly. - Function
lua_dump
has an extra parameter, strip
. Use 0 as the value of this parameter to get the old behavior. - Functions to inject/project unsigned integers (
lua_pushunsigned
, lua_tounsigned
, lua_tounsignedx
, luaL_checkunsigned
, luaL_optunsigned
) were deprecated. Use their signed equivalents with a type cast. - Macros to project non-default integer types (
luaL_checkint
, luaL_optint
, luaL_checklong
, luaL_optlong
) were deprecated. Use their equivalent over lua_Integer
with a type cast (or, when possible, use lua_Integer
in your code).
当前内容版权归
lua 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问
lua .