diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2024-06-20 13:43:33 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2024-06-20 13:43:33 -0300 |
commit | 55ac40f859ad8e28fe71a8801d49f4a4140e8aa3 (patch) | |
tree | 1a1f02de45d28c7eb8976087ade773d7937bed14 /ldo.c | |
parent | 97ef8e7bd40340d47a9789beb06f0128d7438d0a (diff) | |
download | lua-55ac40f859ad8e28fe71a8801d49f4a4140e8aa3.tar.gz lua-55ac40f859ad8e28fe71a8801d49f4a4140e8aa3.tar.bz2 lua-55ac40f859ad8e28fe71a8801d49f4a4140e8aa3.zip |
Cleaning of llimits.h
Several definitions that don't need to be "global" (that is, that
concerns only specific parts of the code) moved out of llimits.h,
to more appropriate places.
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 | ** ======================================================= |