diff options
Diffstat (limited to 'ldo.c')
-rw-r--r-- | ldo.c | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -39,6 +39,19 @@ | |||
39 | 39 | ||
40 | 40 | ||
41 | /* | 41 | /* |
42 | ** these macros allow user-specific actions when a thread is | ||
43 | ** resumed/yielded. | ||
44 | */ | ||
45 | #if !defined(luai_userstateresume) | ||
46 | #define luai_userstateresume(L,n) ((void)L) | ||
47 | #endif | ||
48 | |||
49 | #if !defined(luai_userstateyield) | ||
50 | #define luai_userstateyield(L,n) ((void)L) | ||
51 | #endif | ||
52 | |||
53 | |||
54 | /* | ||
42 | ** {====================================================== | 55 | ** {====================================================== |
43 | ** Error-recovery functions | 56 | ** Error-recovery functions |
44 | ** ======================================================= | 57 | ** ======================================================= |