about summary refs log tree commit diff stats
path: root/src/luaconf.h
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2021-10-24 09:52:07 -0700
committerKartik K. Agaram <vc@akkartik.com>2021-10-24 09:52:07 -0700
commit4a28aace9a3dfcb622cb0eac5e85d61d57ba7915 (patch)
tree4be64a8c0d4a7479562e25ce5974c2baa82e4681 /src/luaconf.h
parent67e4fb8c8e27ed636eeac27a34c26b3c00186a69 (diff)
downloadteliva-4a28aace9a3dfcb622cb0eac5e85d61d57ba7915.tar.gz
get rid of userstate hooks
Diffstat (limited to 'src/luaconf.h')
-rw-r--r--src/luaconf.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/luaconf.h b/src/luaconf.h
index f24ed0e..613739a 100644
--- a/src/luaconf.h
+++ b/src/luaconf.h
@@ -665,19 +665,6 @@ union luai_Cast { double l_d; long l_l; };
 
 
 /*
-@@ luai_userstate* allow user-specific actions on threads.
-** CHANGE them if you defined LUAI_EXTRASPACE and need to do something
-** extra when a thread is created/deleted/resumed/yielded.
-*/
-#define luai_userstateopen(L)		((void)L)
-#define luai_userstateclose(L)		((void)L)
-#define luai_userstatethread(L,L1)	((void)L)
-#define luai_userstatefree(L)		((void)L)
-#define luai_userstateresume(L,n)	((void)L)
-#define luai_userstateyield(L,n)	((void)L)
-
-
-/*
 @@ LUA_INTFRMLEN is the length modifier for integer conversions
 @* in 'string.format'.
 @@ LUA_INTFRM_T is the integer type correspoding to the previous length