diff options
Diffstat (limited to 'src/lj_obj.h')
-rw-r--r-- | src/lj_obj.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lj_obj.h b/src/lj_obj.h index e5ea713d..9101f053 100644 --- a/src/lj_obj.h +++ b/src/lj_obj.h | |||
@@ -531,7 +531,7 @@ typedef struct global_State { | |||
531 | uint8_t hookmask; /* Hook mask. */ | 531 | uint8_t hookmask; /* Hook mask. */ |
532 | uint8_t dispatchmode; /* Dispatch mode. */ | 532 | uint8_t dispatchmode; /* Dispatch mode. */ |
533 | uint8_t vmevmask; /* VM event mask. */ | 533 | uint8_t vmevmask; /* VM event mask. */ |
534 | uint8_t unused1; | 534 | uint8_t wrapmode; /* Wrap mode. */ |
535 | GCRef mainthref; /* Link to main thread. */ | 535 | GCRef mainthref; /* Link to main thread. */ |
536 | TValue registrytv; /* Anchor for registry. */ | 536 | TValue registrytv; /* Anchor for registry. */ |
537 | TValue tmptv; /* Temporary TValue. */ | 537 | TValue tmptv; /* Temporary TValue. */ |
@@ -539,6 +539,7 @@ typedef struct global_State { | |||
539 | int32_t hookcount; /* Instruction hook countdown. */ | 539 | int32_t hookcount; /* Instruction hook countdown. */ |
540 | int32_t hookcstart; /* Start count for instruction hook counter. */ | 540 | int32_t hookcstart; /* Start count for instruction hook counter. */ |
541 | lua_Hook hookf; /* Hook function. */ | 541 | lua_Hook hookf; /* Hook function. */ |
542 | lua_CFunction wrapf; /* Wrapper for C function calls. */ | ||
542 | lua_CFunction panic; /* Called as a last resort for errors. */ | 543 | lua_CFunction panic; /* Called as a last resort for errors. */ |
543 | volatile int32_t vmstate; /* VM state or current JIT code trace number. */ | 544 | volatile int32_t vmstate; /* VM state or current JIT code trace number. */ |
544 | GCRef jit_L; /* Current JIT code lua_State or NULL. */ | 545 | GCRef jit_L; /* Current JIT code lua_State or NULL. */ |