aboutsummaryrefslogtreecommitdiff
path: root/ldo.c
diff options
context:
space:
mode:
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** =======================================================