aboutsummaryrefslogtreecommitdiff
path: root/luaconf.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2009-12-17 10:50:20 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2009-12-17 10:50:20 -0200
commit46f1429936ff7cde274f9896d022ab494567ee7a (patch)
tree9fdba8a4b51ca29e1cb91088b4db8e461a9c6426 /luaconf.h
parente0f9d1c8f5cca74d1ad4017a1f14ff1acac2075a (diff)
downloadlua-46f1429936ff7cde274f9896d022ab494567ee7a.tar.gz
lua-46f1429936ff7cde274f9896d022ab494567ee7a.tar.bz2
lua-46f1429936ff7cde274f9896d022ab494567ee7a.zip
more options moved from luaconf.h into internal files
Diffstat (limited to 'luaconf.h')
-rw-r--r--luaconf.h35
1 files changed, 1 insertions, 34 deletions
diff --git a/luaconf.h b/luaconf.h
index cc788af2..070a25d5 100644
--- a/luaconf.h
+++ b/luaconf.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: luaconf.h,v 1.121 2009/12/14 15:27:30 roberto Exp roberto $ 2** $Id: luaconf.h,v 1.122 2009/12/17 12:26:09 roberto Exp roberto $
3** Configuration file for Lua 3** Configuration file for Lua
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -524,39 +524,6 @@ union luai_Cast { double l_d; long l_l; };
524#endif 524#endif
525 525
526 526
527/*
528@@ luai_userstate* allow user-specific actions on threads.
529** CHANGE them if you defined LUAI_EXTRASPACE and need to do something
530** extra when a thread is created/deleted/resumed/yielded.
531*/
532#define luai_userstateopen(L) ((void)L)
533#define luai_userstateclose(L) ((void)L)
534#define luai_userstatethread(L,L1) ((void)L)
535#define luai_userstatefree(L) ((void)L)
536#define luai_userstateresume(L,n) ((void)L)
537#define luai_userstateyield(L,n) ((void)L)
538
539
540/*
541@@ LUA_INTFRMLEN is the length modifier for integer conversions
542@* in 'string.format'.
543@@ LUA_INTFRM_T is the integer type corresponding to the previous length
544@* modifier.
545** CHANGE them if your system supports long long or does not support long.
546*/
547
548#if defined(LUA_USELONGLONG)
549
550#define LUA_INTFRMLEN "ll"
551#define LUA_INTFRM_T long long
552
553#else
554
555#define LUA_INTFRMLEN "l"
556#define LUA_INTFRM_T long
557
558#endif
559
560 527
561 528
562/* =================================================================== */ 529/* =================================================================== */