As the title says. In theory the right functions to use would be lua_dump
and lua_load
, but I've looked at their documentation and I have no idea on how to use them. What do I do? I need to deepcopy the function, because this copying will be also used to share values between stacks.
Asked
Active
Viewed 80 times
0

Sherlock Holmes
- 191
- 1
- 8
-
Do the functions have upvalues (including `_ENV`)? – Egor Skriptunoff Feb 22 '21 at 08:47
-
@EgorSkriptunoff They may have, but if the script doesn't support upvalues, nothing bad will happen. – Sherlock Holmes Feb 22 '21 at 10:36