Categories > Coding > C++ >
[QUESTION] how does lua_load and lua_state work
Posted
how does Luau_load and luau_state work and why are they?, I know that luau_load executes the script, but then why luau_state?
Replied
luau_load simply loads the bytecode you provide it, luau_state is basically the luau instance that's running. Here's an example:
https://www.lua.org/pil/24.1.html
Enjoy!
Cancel
Post
i like tiramisu
oh i also do c/c++ and other cool programming languages like javascript, typescript, c#, java and lua
Users viewing this thread:
( Members: 0, Guests: 1, Total: 1 )
Cancel
Post