aboutsummaryrefslogtreecommitdiff
path: root/ldo.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2024-06-20 13:43:33 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2024-06-20 13:43:33 -0300
commit55ac40f859ad8e28fe71a8801d49f4a4140e8aa3 (patch)
tree1a1f02de45d28c7eb8976087ade773d7937bed14 /ldo.c
parent97ef8e7bd40340d47a9789beb06f0128d7438d0a (diff)
downloadlua-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.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/ldo.c b/ldo.c
index 699a9d2a..cd6dded6 100644
--- a/ldo.c
+++ b/ldo.c
@@ -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** =======================================================