Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lua progress: Stack Mutating #14

Open
50 of 90 tasks
Possseidon opened this issue Jan 24, 2021 · 0 comments
Open
50 of 90 tasks

Lua progress: Stack Mutating #14

Possseidon opened this issue Jan 24, 2021 · 0 comments
Assignees
Labels
dang-lua enhancement New feature or request

Comments

@Possseidon
Copy link
Owner

Possseidon commented Jan 24, 2021

Stack Mutating

The progress on Stack related Lua functions that mutate the Stack.

Core Library

  • lua_arith used in State::unary, State::binary and State::arith
  • lua_call used in State::call and State::callReturning
  • lua_callk
  • lua_concat used in State::concat
  • lua_copy used in State::replace
  • lua_createtable used in State::pushTable
  • lua_getglobal used in State::getGlobalWithType
  • lua_getfield used in State::getTableWithType
  • lua_geti used in State::getTableWithType
  • lua_getiuservalue
  • lua_getmetatable used in State::getMetatable
  • lua_gettable used in State::getTableWithType
  • lua_insert (invalidates indices)
  • lua_len used in State::pushLength
  • lua_load
  • lua_newtable
  • lua_newthread used in State::pushThread
  • lua_newuserdatauv
  • lua_next used in State::next
  • lua_pcall used in State::pcall and State::pcallReturning
  • lua_pcallk
  • lua_pop used in State::pop
  • lua_pushboolean used in Convert<bool>
  • lua_pushcclosure used in State::pushFunction
  • lua_pushcfunction used in Convert<lua_CFunction>
  • lua_pushfstring
  • lua_pushglobaltable used in State::pushGlobalTable
  • lua_pushinteger used in ConvertIntegral
  • lua_pushlightuserdata
  • lua_pushliteral cannot be wrapped (without using a macro), as it requires an actual literal on the callsite.
  • lua_pushlstring used in various string related Convert templates
  • lua_pushnil used in ConvertNil and Convert<std::optional<T>>
  • lua_pushnumber used in ConvertFloatingPoint
  • lua_pushstring used in Convert<const char*> and Convert for enums
  • lua_pushthread
  • lua_pushvalue used in ConvertIndex::push
  • lua_pushvfstring
  • lua_rawget used in State::rawGetTableWithType
  • lua_rawgeti used in State::rawGetTableWithType
  • lua_rawgetp used in State::rawGetTableWithType
  • lua_rawset used in State::rawSetTable
  • lua_rawseti used in State::rawSetTable
  • lua_rawsetp used in State::rawSetTable
  • lua_remove used in State::remove
  • lua_replace used in State::replace
  • lua_resetthread
  • lua_resume
  • lua_rotate (invalidates indices)
  • lua_setfield used in State::setTable
  • lua_setglobal used in State::setGlobal and State::registerGlobal
  • lua_seti used in State::setTable
  • lua_setiuservalue
  • lua_setmetatable used in State::setMetatable
  • lua_settable used in State::setTable
  • lua_settop used in State::padWithNil
  • lua_stringtonumber
  • lua_toclose used in State::toClose
  • lua_tolstring used in Convert<std::string> and Convert<std::string_view>
  • lua_tostring
  • lua_xmove
  • lua_yield
  • lua_yieldk

Auxiliary Library

  • luaL_callmeta used in State::callMeta
  • luaL_checklstring used in Convert<std::string> and Convert<std::string_view>
  • luaL_checkstring
  • luaL_dofile
  • luaL_dostring
  • luaL_execresult
  • luaL_fileresult
  • luaL_getmetafield used in State::getMetaFieldWithType and State::getMetaField
  • luaL_getmetatable
  • luaL_getsubtable
  • luaL_gsub
  • luaL_loadbuffer
  • luaL_loadbufferx used in State::load
  • luaL_loadfile
  • luaL_loadfilex
  • luaL_loadstring
  • luaL_newlib
  • luaL_newlibtable
  • luaL_newmetatable used in Convert for userdata
  • luaL_optlstring
  • luaL_optstring
  • luaL_pushfail
  • luaL_ref used in Reference::Reference
  • luaL_requiref used in State::openLib, ::pushLib, ::require and ::pushRequire
  • luaL_setfuncs
  • luaL_tolstring used in State::format
  • luaL_traceback
  • luaL_where
@Possseidon Possseidon added the enhancement New feature or request label Jan 24, 2021
@Possseidon Possseidon self-assigned this Jan 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dang-lua enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant