Roberto Ierusalimschy
|
900b7d4514
|
on 64-bit machines, an address may not fit into a 'long', so it
is better to convert from pointer to void to pointer to function
directly, even if ANSI C does not like it.
|
15 years ago |
Roberto Ierusalimschy
|
91f0b20a0e
|
missing standard defines
|
15 years ago |
Roberto Ierusalimschy
|
e4b4623abc
|
'searchpath' changes dots into directory separators
|
15 years ago |
Roberto Ierusalimschy
|
cef96b73e1
|
added casts from int to enumerations to follow C++ rules
|
15 years ago |
Roberto Ierusalimschy
|
427e01eb63
|
removed useless initialization
|
15 years ago |
Roberto Ierusalimschy
|
d320c908d0
|
conversion from pointer to void to pointer to function seems more
"correct" if done through an integral type (because conversions
between pointers and numbers are allowed, only "implementation
defined").
|
15 years ago |
Roberto Ierusalimschy
|
8bfc696676
|
missing 'external' in variable declaration
|
15 years ago |
Roberto Ierusalimschy
|
97a35e70af
|
pathes corrected to 5.2
|
15 years ago |
Roberto Ierusalimschy
|
03b556b963
|
corrected copyright notice to 2010
|
15 years ago |
Roberto Ierusalimschy
|
572b94bbcb
|
include of 'windows.h' moved to where it is needed
|
15 years ago |
Roberto Ierusalimschy
|
692209fa8d
|
Dynamic C functions should be created with the global table as their
initial environments
|
15 years ago |
Roberto Ierusalimschy
|
953d499ea2
|
changed macro lua_number2int for Windows (added brackets; some recent
compilers complain about the old format) + added missing definition
for 'lua_number2int' in Windows case.
|
15 years ago |
Roberto Ierusalimschy
|
a541ada194
|
"-"-trick in C packages now accept name-v13...
|
15 years ago |
Roberto Ierusalimschy
|
55d3138397
|
removed old prototype for 'luaI_openlib' (which does not exist anymore)
|
15 years ago |
Roberto Ierusalimschy
|
e74e56f2b1
|
better may to force recompilation when makefile changes
|
15 years ago |
Roberto Ierusalimschy
|
1ebf109c53
|
'setobj' must assing fields one by one, to allow trick of using
pad space in table keys
|
15 years ago |
Roberto Ierusalimschy
|
f75be1cb28
|
removed parentheses around some function names in their definitions
|
15 years ago |
Roberto Ierusalimschy
|
16d2ad88fe
|
some changes in compatibility macros: added LUA_COMPAT_ALL + compatibility
macros from lua.h and lauxlib.h moved to luaconf.h
|
15 years ago |
Roberto Ierusalimschy
|
f3a6815000
|
compatibility code removed or moved to luaconf.h
|
15 years ago |
Roberto Ierusalimschy
|
19f8c87375
|
compatibility code moved to luaconf.h
|
15 years ago |
Roberto Ierusalimschy
|
5bcfe0c700
|
new debug info 'isvararg' and 'nparams'
|
15 years ago |
Roberto Ierusalimschy
|
8cd395564c
|
no need to use two different defines (LUA_DL_DLOPEN and LUA_USE_DLOPEN)
|
15 years ago |
Roberto Ierusalimschy
|
389c890ed3
|
again changing macro to function to save a few bytes
|
15 years ago |
Roberto Ierusalimschy
|
e3866afa97
|
macro 'luaY_checklimit' changed into a function (and renamed 'checklimit').
It makes no sense to trade space for time in the parser.
|
15 years ago |
Roberto Ierusalimschy
|
25189b420d
|
field 'nups' in struct 'lua_Debug' changed from 'int' to 'unsigned
char' to save some space (even C functions cannot have more than
maxchar upvalues).
|
15 years ago |
Roberto Ierusalimschy
|
cec25167d1
|
new api_check that 'pcallk' cannot be called inside hooks
|
15 years ago |
Roberto Ierusalimschy
|
1fd4c482a0
|
reorganization of switch in function 'match' (details)
|
15 years ago |
Roberto Ierusalimschy
|
35e729fa6d
|
comments + small details
|
15 years ago |
Roberto Ierusalimschy
|
0dc09cb42e
|
'unpack' moved to table library (and therefore "renamed" to
'table.unpack'.
|
15 years ago |
Roberto Ierusalimschy
|
cc1cbd19a0
|
'lua_cpcall' is deprecated + other small changes in 'pmain' (comments
and reordering to check arguments before running any Lua code)
|
15 years ago |
Roberto Ierusalimschy
|
cb3f95d516
|
'lua_cpcall' is deprecated
|
15 years ago |
Roberto Ierusalimschy
|
f84b575cfa
|
no more pseudoindex LUA_GLOBALSINDEX; global table now accessible
through registry
|
15 years ago |
Roberto Ierusalimschy
|
3cb343efd6
|
code for error message for 'setn' removed
|
15 years ago |
Roberto Ierusalimschy
|
ec0fc1a13b
|
missing parentheses around 'lua_version' + moving typdef's before
the extra include
|
15 years ago |
Roberto Ierusalimschy
|
c3a6f3fa1c
|
'lua_objlen' replaced by 'lua_rawlen', 'lua_len', and 'luaL_len'
|
15 years ago |
Roberto Ierusalimschy
|
0bbdddc86b
|
allocator function receives the tag of object being allocated in 'osize'
when 'ptr' is NULL.
|
15 years ago |
Roberto Ierusalimschy
|
b3b8dfaaea
|
yet more options moved from luaconf.h into internal files
|
15 years ago |
Roberto Ierusalimschy
|
adc6a4865b
|
macro name change: LUA_INIT->LUA_INIT_VAR
|
15 years ago |
Roberto Ierusalimschy
|
2108754e46
|
macro name change: LUA_PATH->LUA_PATH_VAR, LUA_CPATH->LUA_CPATH_VAR,
LUA_PATHSEP->LUA_PATH_SEP, LUA_EXECDIR->LUA_EXEC_DIR
|
15 years ago |
Roberto Ierusalimschy
|
46f1429936
|
more options moved from luaconf.h into internal files
|
15 years ago |
Roberto Ierusalimschy
|
e0f9d1c8f5
|
removed export of function only for coco
|
15 years ago |
Roberto Ierusalimschy
|
de6fc75d63
|
several configuration options that do not change often moved out of
luaconf.h and into more internal files
|
15 years ago |
Roberto Ierusalimschy
|
2af0d3b459
|
allocator function receives the tag of object being allocated in 'osize'
when 'ptr' is NULL.
|
15 years ago |
Roberto Ierusalimschy
|
9fbe0690fb
|
base-level C use global table as its environment
|
15 years ago |
Roberto Ierusalimschy
|
a25b8ff69c
|
detail ('lua_tolstring' instead of lua_objlen)
|
15 years ago |
Roberto Ierusalimschy
|
15b823ce4f
|
cleaner way to add extra space in a lua state.
|
15 years ago |
Roberto Ierusalimschy
|
8da245bfd2
|
better to keep GC state numbers sequential, to optimize switch in
'singlestep'
|
15 years ago |
Roberto Ierusalimschy
|
a2a2abcba4
|
new function 'luaC_runtilstate' to advance GC until a "valid" state
|
15 years ago |
Roberto Ierusalimschy
|
2e51792596
|
avoid using deprecated macros lua_[gs]etglobal
|
15 years ago |
Roberto Ierusalimschy
|
3a9ae612a4
|
macro 'ngcotouv' is the same as 'gco2uv', so it was removed
|
15 years ago |