1 /* $NetBSD: luaconf.h,v 1.4 2012/03/15 01:02:19 alnsn Exp $ */
4 ** Id: luaconf.h,v 1.82.1.7 2008/02/11 16:25:08 roberto Exp $
5 ** Configuration file for Lua
6 ** See Copyright Notice in lua.h
18 ** ==================================================================
19 ** Search for "@@" to find all configurable definitions.
20 ** ===================================================================
25 @@ LUA_ANSI controls the use of non-ansi features.
26 ** CHANGE it (define it) if you want Lua to avoid the use of any
27 ** non-ansi feature or library.
29 #if defined(__STRICT_ANSI__)
34 #if !defined(LUA_ANSI) && defined(_WIN32)
38 #if defined(LUA_USE_LINUX)
40 #define LUA_USE_DLOPEN /* needs an extra library: -ldl */
41 #define LUA_USE_READLINE /* needs some extra libraries */
44 #if defined(LUA_USE_MACOSX)
46 #define LUA_DL_DYLD /* does not need extra library */
52 @@ LUA_USE_POSIX includes all functionallity listed as X/Open System
53 @* Interfaces Extension (XSI).
54 ** CHANGE it (define it) if your system is XSI compatible.
56 #if defined(LUA_USE_POSIX)
57 #define LUA_USE_MKSTEMP
58 #define LUA_USE_ISATTY
60 #define LUA_USE_ULONGJMP
65 @@ LUA_PATH and LUA_CPATH are the names of the environment variables that
66 @* Lua check to set its paths.
67 @@ LUA_INIT is the name of the environment variable that Lua
68 @* checks for initialization code.
69 ** CHANGE them if you want different names.
71 #define LUA_PATH "LUA_PATH"
72 #define LUA_CPATH "LUA_CPATH"
73 #define LUA_INIT "LUA_INIT"
77 @@ LUA_PATH_DEFAULT is the default path that Lua uses to look for
79 @@ LUA_CPATH_DEFAULT is the default path that Lua uses to look for
81 ** CHANGE them if your machine has a non-conventional directory
82 ** hierarchy or if you want to install your libraries in
83 ** non-conventional directories.
87 ** In Windows, any exclamation mark ('!') in the path is replaced by the
88 ** path of the directory of the executable file of the current process.
90 #define LUA_LDIR "!\\lua\\"
91 #define LUA_CDIR "!\\"
92 #define LUA_PATH_DEFAULT \
93 ".\\?.lua;" LUA_LDIR"?.lua;" LUA_LDIR"?\\init.lua;" \
94 LUA_CDIR"?.lua;" LUA_CDIR"?\\init.lua"
95 #define LUA_CPATH_DEFAULT \
96 ".\\?.dll;" LUA_CDIR"?.dll;" LUA_CDIR"loadall.dll"
99 #define LUA_ROOT "/usr/"
100 #define LUA_LDIR LUA_ROOT "share/lua/5.1/"
101 #define LUA_CDIR LUA_ROOT "lib/lua/5.1/"
104 * The original Lua distribution contain "./?.lua" at the beginning
105 * of LUA_PATH_DEFAULT and "./?.so" at the beginning of LUA_CPATH_DEFAULT.
106 * These path elements have been removed for the NetBSD version of Lua
107 * to avoid potential security problems.
109 #define LUA_PATH_DEFAULT \
110 LUA_LDIR"?.lua;" LUA_LDIR"?/init.lua;" \
111 LUA_CDIR"?.lua;" LUA_CDIR"?/init.lua"
112 #define LUA_CPATH_DEFAULT \
113 LUA_CDIR"?.so;" LUA_CDIR"loadall.so"
118 @@ LUA_DIRSEP is the directory separator (for submodules).
119 ** CHANGE it if your machine does not use "/" as the directory separator
120 ** and is not Windows. (On Windows Lua automatically uses "\".)
123 #define LUA_DIRSEP "\\"
125 #define LUA_DIRSEP "/"
130 @@ LUA_PATHSEP is the character that separates templates in a path.
131 @@ LUA_PATH_MARK is the string that marks the substitution points in a
133 @@ LUA_EXECDIR in a Windows path is replaced by the executable's
135 @@ LUA_IGMARK is a mark to ignore all before it when bulding the
136 @* luaopen_ function name.
137 ** CHANGE them if for some reason your system cannot use those
138 ** characters. (E.g., if one of those characters is a common character
139 ** in file/directory names.) Probably you do not need to change them.
141 #define LUA_PATHSEP ";"
142 #define LUA_PATH_MARK "?"
143 #define LUA_EXECDIR "!"
144 #define LUA_IGMARK "-"
148 @@ LUA_INTEGER is the integral type used by lua_pushinteger/lua_tointeger.
149 ** CHANGE that if ptrdiff_t is not adequate on your machine. (On most
150 ** machines, ptrdiff_t gives a good choice between int or long.)
152 #define LUA_INTEGER ptrdiff_t
156 @@ LUA_API is a mark for all core API functions.
157 @@ LUALIB_API is a mark for all standard library functions.
158 ** CHANGE them if you need to define those functions in some special way.
159 ** For instance, if you want to create one Windows DLL with the core and
160 ** the libraries, you may want to use the following definition (define
161 ** LUA_BUILD_AS_DLL to get it).
163 #if defined(LUA_BUILD_AS_DLL)
165 #if defined(LUA_CORE) || defined(LUA_LIB)
166 #define LUA_API __declspec(dllexport)
168 #define LUA_API __declspec(dllimport)
173 #define LUA_API extern
177 /* more often than not the libs go together with the core */
178 #define LUALIB_API LUA_API
182 @@ LUAI_FUNC is a mark for all extern functions that are not to be
183 @* exported to outside modules.
184 @@ LUAI_DATA is a mark for all extern (const) variables that are not to
185 @* be exported to outside modules.
186 ** CHANGE them if you need to mark them in some special way. Elf/gcc
187 ** (versions 3.2 and later) mark them as "hidden" to optimize access
188 ** when Lua is compiled as a shared library.
190 #if defined(luaall_c)
191 #define LUAI_FUNC static
192 #define LUAI_DATA /* empty */
194 #elif defined(__GNUC__) && ((__GNUC__*100 + __GNUC_MINOR__) >= 302) && \
196 #define LUAI_FUNC __attribute__((visibility("hidden"))) extern
197 #define LUAI_DATA LUAI_FUNC
200 #define LUAI_FUNC extern
201 #define LUAI_DATA extern
207 @@ LUA_QL describes how error messages quote program elements.
208 ** CHANGE it if you want a different appearance.
210 #define LUA_QL(x) "'" x "'"
211 #define LUA_QS LUA_QL("%s")
215 @@ LUA_IDSIZE gives the maximum size for the description of the source
216 @* of a function in debug information.
217 ** CHANGE it if you want a different size.
219 #define LUA_IDSIZE 60
223 ** {==================================================================
224 ** Stand-alone configuration
225 ** ===================================================================
228 #if defined(lua_c) || defined(luaall_c)
231 @@ lua_stdin_is_tty detects whether the standard input is a 'tty' (that
232 @* is, whether we're running lua interactively).
233 ** CHANGE it if you have a better definition for non-POSIX/non-Windows
236 #if defined(LUA_USE_ISATTY)
238 #define lua_stdin_is_tty() isatty(0)
239 #elif defined(LUA_WIN)
242 #define lua_stdin_is_tty() _isatty(_fileno(stdin))
244 #define lua_stdin_is_tty() 1 /* assume stdin is a tty */
249 @@ LUA_PROMPT is the default prompt used by stand-alone Lua.
250 @@ LUA_PROMPT2 is the default continuation prompt used by stand-alone Lua.
251 ** CHANGE them if you want different prompts. (You can also change the
252 ** prompts dynamically, assigning to globals _PROMPT/_PROMPT2.)
254 #define LUA_PROMPT "> "
255 #define LUA_PROMPT2 ">> "
259 @@ LUA_PROGNAME is the default name for the stand-alone Lua program.
260 ** CHANGE it if your stand-alone interpreter has a different name and
261 ** your system is not able to detect that name automatically.
263 #define LUA_PROGNAME "lua"
267 @@ LUA_MAXINPUT is the maximum length for an input line in the
268 @* stand-alone interpreter.
269 ** CHANGE it if you need longer lines.
271 #define LUA_MAXINPUT 512
275 @@ lua_readline defines how to show a prompt and then read a line from
276 @* the standard input.
277 @@ lua_saveline defines how to "save" a read line in a "history".
278 @@ lua_freeline defines how to free a line read by lua_readline.
279 ** CHANGE them if you want to improve this functionality (e.g., by using
280 ** GNU readline and history facilities).
282 #if defined(LUA_USE_READLINE)
284 #include <readline/readline.h>
285 #include <readline/history.h>
286 #define lua_readline(L,b,p) ((void)L, ((b)=readline(p)) != NULL)
287 #define lua_saveline(L,idx) \
288 if (lua_strlen(L,idx) > 0) /* non-empty line? */ \
289 add_history(lua_tostring(L, idx)); /* add it to history */
290 #define lua_freeline(L,b) ((void)L, free(b))
292 #define lua_readline(L,b,p) \
293 ((void)L, fputs(p, stdout), fflush(stdout), /* show prompt */ \
294 fgets(b, LUA_MAXINPUT, stdin) != NULL) /* get line */
295 #define lua_saveline(L,idx) { (void)L; (void)idx; }
296 #define lua_freeline(L,b) { (void)L; (void)b; }
301 /* }================================================================== */
305 @@ LUAI_GCPAUSE defines the default pause between garbage-collector cycles
307 ** CHANGE it if you want the GC to run faster or slower (higher values
308 ** mean larger pauses which mean slower collection.) You can also change
309 ** this value dynamically.
311 #define LUAI_GCPAUSE 200 /* 200% (wait memory to double before next GC) */
315 @@ LUAI_GCMUL defines the default speed of garbage collection relative to
316 @* memory allocation as a percentage.
317 ** CHANGE it if you want to change the granularity of the garbage
318 ** collection. (Higher values mean coarser collections. 0 represents
319 ** infinity, where each step performs a full collection.) You can also
320 ** change this value dynamically.
322 #define LUAI_GCMUL 200 /* GC runs 'twice the speed' of memory allocation */
327 @@ LUA_COMPAT_GETN controls compatibility with old getn behavior.
328 ** CHANGE it (define it) if you want exact compatibility with the
329 ** behavior of setn/getn in Lua 5.0.
331 #undef LUA_COMPAT_GETN
334 @@ LUA_COMPAT_LOADLIB controls compatibility about global loadlib.
335 ** CHANGE it to undefined as soon as you do not need a global 'loadlib'
336 ** function (the function is still available as 'package.loadlib').
338 #undef LUA_COMPAT_LOADLIB
341 @@ LUA_COMPAT_VARARG controls compatibility with old vararg feature.
342 ** CHANGE it to undefined as soon as your programs use only '...' to
343 ** access vararg parameters (instead of the old 'arg' table).
345 #define LUA_COMPAT_VARARG
348 @@ LUA_COMPAT_MOD controls compatibility with old math.mod function.
349 ** CHANGE it to undefined as soon as your programs use 'math.fmod' or
350 ** the new '%' operator instead of 'math.mod'.
352 #define LUA_COMPAT_MOD
355 @@ LUA_COMPAT_LSTR controls compatibility with old long string nesting
357 ** CHANGE it to 2 if you want the old behaviour, or undefine it to turn
358 ** off the advisory error when nesting [[...]].
360 #define LUA_COMPAT_LSTR 1
363 @@ LUA_COMPAT_GFIND controls compatibility with old 'string.gfind' name.
364 ** CHANGE it to undefined as soon as you rename 'string.gfind' to
367 #define LUA_COMPAT_GFIND
370 @@ LUA_COMPAT_OPENLIB controls compatibility with old 'luaL_openlib'
372 ** CHANGE it to undefined as soon as you replace to 'luaL_register'
373 ** your uses of 'luaL_openlib'
375 #define LUA_COMPAT_OPENLIB
380 @@ luai_apicheck is the assert macro used by the Lua-C API.
381 ** CHANGE luai_apicheck if you want Lua to perform some checks in the
382 ** parameters it gets from API calls. This may slow down the interpreter
383 ** a bit, but may be quite useful when debugging C code that interfaces
384 ** with Lua. A useful redefinition is to use assert.h.
386 #if defined(LUA_USE_APICHECK)
388 #define luai_apicheck(L,o) { (void)L; assert(o); }
390 #define luai_apicheck(L,o) { (void)L; }
395 @@ LUAI_BITSINT defines the number of bits in an int.
396 ** CHANGE here if Lua cannot automatically detect the number of bits of
397 ** your machine. Probably you do not need to change this.
399 /* avoid overflows in comparison */
400 #if INT_MAX-20 < 32760
401 #define LUAI_BITSINT 16
402 #elif INT_MAX > 2147483640L
403 /* int has at least 32 bits */
404 #define LUAI_BITSINT 32
406 #error "you must define LUA_BITSINT with number of bits in an integer"
411 @@ LUAI_UINT32 is an unsigned integer with at least 32 bits.
412 @@ LUAI_INT32 is an signed integer with at least 32 bits.
413 @@ LUAI_UMEM is an unsigned integer big enough to count the total
414 @* memory used by Lua.
415 @@ LUAI_MEM is a signed integer big enough to count the total memory
417 ** CHANGE here if for some weird reason the default definitions are not
418 ** good enough for your machine. (The definitions in the 'else'
419 ** part always works, but may waste space on machines with 64-bit
420 ** longs.) Probably you do not need to change this.
422 #if LUAI_BITSINT >= 32
423 #define LUAI_UINT32 unsigned int
424 #define LUAI_INT32 int
425 #define LUAI_MAXINT32 INT_MAX
426 #define LUAI_UMEM size_t
427 #define LUAI_MEM ptrdiff_t
430 #define LUAI_UINT32 unsigned long
431 #define LUAI_INT32 long
432 #define LUAI_MAXINT32 LONG_MAX
433 #define LUAI_UMEM unsigned long
434 #define LUAI_MEM long
439 @@ LUAI_MAXCALLS limits the number of nested calls.
440 ** CHANGE it if you need really deep recursive calls. This limit is
441 ** arbitrary; its only purpose is to stop infinite recursion before
442 ** exhausting memory.
444 #define LUAI_MAXCALLS 20000
448 @@ LUAI_MAXCSTACK limits the number of Lua stack slots that a C function
450 ** CHANGE it if you need lots of (Lua) stack space for your C
451 ** functions. This limit is arbitrary; its only purpose is to stop C
452 ** functions to consume unlimited stack space. (must be smaller than
453 ** -LUA_REGISTRYINDEX)
455 #define LUAI_MAXCSTACK 8000
460 ** {==================================================================
461 ** CHANGE (to smaller values) the following definitions if your system
462 ** has a small C stack. (Or you may want to change them to larger
463 ** values if your system has a large C stack and these limits are
464 ** too rigid for you.) Some of these constants control the size of
465 ** stack-allocated arrays used by the compiler or the interpreter, while
466 ** others limit the maximum number of recursive calls that the compiler
467 ** or the interpreter can perform. Values too large may cause a C stack
468 ** overflow for some forms of deep constructs.
469 ** ===================================================================
474 @@ LUAI_MAXCCALLS is the maximum depth for nested C calls (short) and
475 @* syntactical nested non-terminals in a program.
477 #define LUAI_MAXCCALLS 200
481 @@ LUAI_MAXVARS is the maximum number of local variables per function
482 @* (must be smaller than 250).
484 #define LUAI_MAXVARS 200
488 @@ LUAI_MAXUPVALUES is the maximum number of upvalues per function
489 @* (must be smaller than 250).
491 #define LUAI_MAXUPVALUES 60
495 @@ LUAL_BUFFERSIZE is the buffer size used by the lauxlib buffer system.
497 #define LUAL_BUFFERSIZE BUFSIZ
499 /* }================================================================== */
505 ** {==================================================================
506 @@ LUA_NUMBER is the type of numbers in Lua.
507 ** CHANGE the following definitions only if you want to build Lua
508 ** with a number type different from double. You may also need to
509 ** change lua_number2int & lua_number2integer.
510 ** ===================================================================
513 #define LUA_NUMBER_DOUBLE
514 #define LUA_NUMBER double
517 @@ LUAI_UACNUMBER is the result of an 'usual argument conversion'
520 #define LUAI_UACNUMBER double
524 @@ LUA_NUMBER_SCAN is the format for reading numbers.
525 @@ LUA_NUMBER_FMT is the format for writing numbers.
526 @@ lua_number2str converts a number to a string.
527 @@ LUAI_MAXNUMBER2STR is maximum size of previous conversion.
528 @@ lua_str2number converts a string to a number.
530 #define LUA_NUMBER_SCAN "%lf"
531 #define LUA_NUMBER_FMT "%.14g"
532 #define lua_number2str(s,n) sprintf((s), LUA_NUMBER_FMT, (n))
533 #define LUAI_MAXNUMBER2STR 32 /* 16 digits, sign, point, and \0 */
534 #define lua_str2number(s,p) strtod((s), (p))
538 @@ The luai_num* macros define the primitive operations over numbers.
540 #if defined(LUA_CORE)
542 #define luai_numadd(a,b) ((a)+(b))
543 #define luai_numsub(a,b) ((a)-(b))
544 #define luai_nummul(a,b) ((a)*(b))
545 #define luai_numdiv(a,b) ((a)/(b))
546 #define luai_nummod(a,b) ((a) - floor((a)/(b))*(b))
547 #define luai_numpow(a,b) (pow(a,b))
548 #define luai_numunm(a) (-(a))
549 #define luai_numeq(a,b) ((a)==(b))
550 #define luai_numlt(a,b) ((a)<(b))
551 #define luai_numle(a,b) ((a)<=(b))
552 #define luai_numisnan(a) (!luai_numeq((a), (a)))
557 @@ lua_number2int is a macro to convert lua_Number to int.
558 @@ lua_number2integer is a macro to convert lua_Number to lua_Integer.
559 ** CHANGE them if you know a faster way to convert a lua_Number to
560 ** int (with any rounding method and without throwing errors) in your
561 ** system. In Pentium machines, a naive typecast from double to int
562 ** in C is extremely slow, so any alternative is worth trying.
565 /* On a Pentium, resort to a trick */
566 #if defined(LUA_NUMBER_DOUBLE) && !defined(LUA_ANSI) && !defined(__SSE2__) && \
567 (defined(__i386) || defined (_M_IX86) || defined(__i386__))
569 /* On a Microsoft compiler, use assembler */
570 #if defined(_MSC_VER)
572 #define lua_number2int(i,d) __asm fld d __asm fistp i
573 #define lua_number2integer(i,n) lua_number2int(i, n)
575 /* the next trick should work on any Pentium, but sometimes clashes
576 with a DirectX idiosyncrasy */
579 union luai_Cast
{ double l_d
; long l_l
; };
580 #define lua_number2int(i,d) \
581 { volatile union luai_Cast u; u.l_d = (d) + 6755399441055744.0; (i) = u.l_l; }
582 #define lua_number2integer(i,n) lua_number2int(i, n)
587 /* this option always works, but may be slow */
589 #define lua_number2int(i,d) ((i)=(int)(d))
590 #define lua_number2integer(i,d) ((i)=(lua_Integer)(d))
594 /* }================================================================== */
598 @@ LUAI_USER_ALIGNMENT_T is a type that requires maximum alignment.
599 ** CHANGE it if your system requires alignments larger than double. (For
600 ** instance, if your system supports long doubles and they must be
601 ** aligned in 16-byte boundaries, then you should add long double in the
602 ** union.) Probably you do not need to change this.
604 #define LUAI_USER_ALIGNMENT_T union { double u; void *s; long l; }
608 @@ LUAI_THROW/LUAI_TRY define how Lua does exception handling.
609 ** CHANGE them if you prefer to use longjmp/setjmp even with C++
610 ** or if want/don't to use _longjmp/_setjmp instead of regular
611 ** longjmp/setjmp. By default, Lua handles errors with exceptions when
612 ** compiling as C++ code, with _longjmp/_setjmp when asked to use them,
613 ** and with longjmp/setjmp otherwise.
615 #if defined(__cplusplus)
617 #define LUAI_THROW(L,c) throw(c)
618 #define LUAI_TRY(L,c,a) try { a } catch(...) \
619 { if ((c)->status == 0) (c)->status = -1; }
620 #define luai_jmpbuf int /* dummy variable */
622 #elif defined(LUA_USE_ULONGJMP)
623 /* in Unix, try _longjmp/_setjmp (more efficient) */
624 #define LUAI_THROW(L,c) _longjmp((c)->b, 1)
625 #define LUAI_TRY(L,c,a) if (_setjmp((c)->b) == 0) { a }
626 #define luai_jmpbuf jmp_buf
629 /* default handling with long jumps */
630 #define LUAI_THROW(L,c) longjmp((c)->b, 1)
631 #define LUAI_TRY(L,c,a) if (setjmp((c)->b) == 0) { a }
632 #define luai_jmpbuf jmp_buf
638 @@ LUA_MAXCAPTURES is the maximum number of captures that a pattern
639 @* can do during pattern-matching.
640 ** CHANGE it if you need more captures. This limit is arbitrary.
642 #define LUA_MAXCAPTURES 32
646 @@ lua_tmpnam is the function that the OS library uses to create a
648 @@ LUA_TMPNAMBUFSIZE is the maximum size of a name created by lua_tmpnam.
649 ** CHANGE them if you have an alternative to tmpnam (which is considered
650 ** insecure) or if you want the original tmpnam anyway. By default, Lua
651 ** uses tmpnam except when POSIX is available, where it uses mkstemp.
653 #if defined(loslib_c) || defined(luaall_c)
655 #if defined(LUA_USE_MKSTEMP)
657 #define LUA_TMPNAMBUFSIZE 32
658 #define lua_tmpnam(b,e) { \
659 strcpy(b, "/tmp/lua_XXXXXX"); \
661 if (e != -1) close(e); \
665 #define LUA_TMPNAMBUFSIZE L_tmpnam
666 #define lua_tmpnam(b,e) { e = (tmpnam(b) == NULL); }
673 @@ lua_popen spawns a new process connected to the current one through
675 ** CHANGE it if you have a way to implement it in your system.
677 #if defined(LUA_USE_POPEN)
679 #define lua_popen(L,c,m) ((void)L, fflush(NULL), popen(c,m))
680 #define lua_pclose(L,file) ((void)L, (pclose(file) != -1))
682 #elif defined(LUA_WIN)
684 #define lua_popen(L,c,m) ((void)L, _popen(c,m))
685 #define lua_pclose(L,file) ((void)L, (_pclose(file) != -1))
689 #define lua_popen(L,c,m) ((void)((void)c, m), \
690 luaL_error(L, LUA_QL("popen") " not supported"), (FILE*)0)
691 #define lua_pclose(L,file) ((void)((void)L, file), 0)
696 @@ LUA_DL_* define which dynamic-library system Lua should use.
697 ** CHANGE here if Lua has problems choosing the appropriate
698 ** dynamic-library system for your platform (either Windows' DLL, Mac's
699 ** dyld, or Unix's dlopen). If your system is some kind of Unix, there
700 ** is a good chance that it has dlopen, so LUA_DL_DLOPEN will work for
701 ** it. To use dlopen you also need to adapt the src/Makefile (probably
702 ** adding -ldl to the linker options), so Lua does not select it
703 ** automatically. (When you change the makefile to add -ldl, you must
704 ** also add -DLUA_USE_DLOPEN.)
705 ** If you do not want any kind of dynamic library, undefine all these
707 ** By default, _WIN32 gets LUA_DL_DLL and MAC OS X gets LUA_DL_DYLD.
709 #if defined(LUA_USE_DLOPEN)
710 #define LUA_DL_DLOPEN
719 @@ LUAI_EXTRASPACE allows you to add user-specific data in a lua_State
720 @* (the data goes just *before* the lua_State pointer).
721 ** CHANGE (define) this if you really need that. This value must be
722 ** a multiple of the maximum alignment required for your machine.
724 #define LUAI_EXTRASPACE 0
728 @@ luai_userstate* allow user-specific actions on threads.
729 ** CHANGE them if you defined LUAI_EXTRASPACE and need to do something
730 ** extra when a thread is created/deleted/resumed/yielded.
732 #define luai_userstateopen(L) ((void)L)
733 #define luai_userstateclose(L) ((void)L)
734 #define luai_userstatethread(L,L1) ((void)L)
735 #define luai_userstatefree(L) ((void)L)
736 #define luai_userstateresume(L,n) ((void)L)
737 #define luai_userstateyield(L,n) ((void)L)
741 @@ LUA_INTFRMLEN is the length modifier for integer conversions
742 @* in 'string.format'.
743 @@ LUA_INTFRM_T is the integer type correspoding to the previous length
745 ** CHANGE them if your system supports long long or does not support long.
748 #if defined(LUA_USELONGLONG)
750 #define LUA_INTFRMLEN "ll"
751 #define LUA_INTFRM_T long long
755 #define LUA_INTFRMLEN "l"
756 #define LUA_INTFRM_T long
762 /* =================================================================== */
765 ** Local configuration. You can use this space to add your redefinitions
766 ** without modifying the main part of the file.