Merge branch 'Roblox:master' into master

This commit is contained in:
NotDSF 2021-11-08 17:15:50 +00:00 committed by GitHub
commit 0e3e880f19
Signed by: DevComp
GPG key ID: 4AEE18F83AFDEB23

View file

@ -346,6 +346,8 @@ struct lua_Debug
* can only be changed when the VM is not running any code */
struct lua_Callbacks
{
void* userdata; /* arbitrary userdata pointer that is never overwritten by Luau */
void (*interrupt)(lua_State* L, int gc); /* gets called at safepoints (loop back edges, call/ret, gc) if set */
void (*panic)(lua_State* L, int errcode); /* gets called when an unprotected error is raised (if longjmp is used) */