ok, starting to make sense now

Putting together two resources:
  https://lucasklassmann.com/blog/2019-02-02-how-to-embeddeding-lua-in-c/#exposing-a-simple-variable
  https://www.lua.org/manual/5.3/manual.html, section 2.1, "Values and Types", particularly the description of light user data.

And lo, I see lua_pushlightuserdata in lapi.c
This commit is contained in:
Kartik K. Agaram 2021-10-24 10:32:22 -07:00
parent 4a0822929b
commit d8fcd648d7
1 changed files with 1 additions and 3 deletions

View File

@ -14,6 +14,4 @@ initializing a lua_State (lua_newstate)
next = NULL
stack = NULL
== todo stack
where are stack_last/base/top initialized?
lua_State's stack
Lua's stack vs globals: https://lucasklassmann.com/blog/2019-02-02-how-to-embeddeding-lua-in-c/#exposing-a-simple-variable