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:
parent
4a0822929b
commit
d8fcd648d7
|
@ -14,6 +14,4 @@ initializing a lua_State (lua_newstate)
|
||||||
next = NULL
|
next = NULL
|
||||||
stack = NULL
|
stack = NULL
|
||||||
|
|
||||||
== todo stack
|
Lua's stack vs globals: https://lucasklassmann.com/blog/2019-02-02-how-to-embeddeding-lua-in-c/#exposing-a-simple-variable
|
||||||
where are stack_last/base/top initialized?
|
|
||||||
lua_State's stack
|
|
||||||
|
|
Loading…
Reference in New Issue