Roberto Ierusalimschy
|
e869d17eb1
functions should return explicit "nil"s.
|
27 years ago |
Roberto Ierusalimschy
|
df0df08bc5
"dostring" accepts chunk name.
|
27 years ago |
Roberto Ierusalimschy
|
9618aaf07d
small corrections in comments
|
27 years ago |
Roberto Ierusalimschy
|
02134b4a87
name: lua_pushCclosure -> lua_pushcclosure.
|
27 years ago |
Roberto Ierusalimschy
|
243a808067
'print' now calls 'tostring'
|
27 years ago |
Roberto Ierusalimschy
|
0969a971cd
better use of "ASSERT".
|
27 years ago |
Roberto Ierusalimschy
|
88a2023c32
support for strings with '\0'
|
27 years ago |
Roberto Ierusalimschy
|
5ef1989c4b
"settag" returns its first argument.
|
27 years ago |
Roberto Ierusalimschy
|
f380d627f8
usefull macros also available as functions
|
27 years ago |
Roberto Ierusalimschy
|
d49e4dd752
MAX_WORD should not be bigger than MAX_INT
|
27 years ago |
Roberto Ierusalimschy
|
26679b1a48
back to upavalues as extra arguments for C closures; this way it's
|
27 years ago |
Roberto Ierusalimschy
|
964c503a63
LUA_COMPAT2.5 may use #ifdef instead of #if
|
27 years ago |
Roberto Ierusalimschy
|
a5fd7d722c
opctional "base" in "tonumber" convertion.
|
28 years ago |
Roberto Ierusalimschy
|
de79e7fc58
back to "lua_upvalue"... (seems better choice)
|
28 years ago |
Roberto Ierusalimschy
|
502343b402
new scheme for buffers, centralized in auxlib.
|
28 years ago |
Roberto Ierusalimschy
|
45e533599f
optimization: closures without upvalues don't need to be closures
|
28 years ago |
Roberto Ierusalimschy
|
4daae2165d
new API function and built-in "lua_copytagmethods"
|
28 years ago |
Roberto Ierusalimschy
|
80b3d28f4a
details (mainly error messages)
|
28 years ago |
Roberto Ierusalimschy
|
00c122cc29
other distribution of memory debug information.
|
28 years ago |
Roberto Ierusalimschy
|
a6ad644bf2
no more protected global variables
|
28 years ago |
Roberto Ierusalimschy
|
5482992dec
other access method for C upvalues (as arguments)
|
28 years ago |
Roberto Ierusalimschy
|
024528e0c2
global variables starting with '.' are protected in Lua (temporarily at
|
28 years ago |
Roberto Ierusalimschy
|
b291e50006
extra argument for "assert"
|
28 years ago |
Roberto Ierusalimschy
|
9ae0c082a3
small details by lint.
|
28 years ago |
Roberto Ierusalimschy
|
592a3f289b
first implementation of centralized global state.
|
28 years ago |
Roberto Ierusalimschy
|
c957b270d2
"call" now handles errors (instead of "dostring")
|
28 years ago |
Roberto Ierusalimschy
|
45cad43c3f
"lua_open": now lua has an explicit open operation.
|
28 years ago |
Roberto Ierusalimschy
|
e78cf96c97
first version of Cclosures.
|
28 years ago |
Roberto Ierusalimschy
|
0cb3843956
"foreach" and "foreachvar" more robust (to survive GCs), and with
|
28 years ago |
Roberto Ierusalimschy
|
ac30aad09b
new functions "foreach" and "foreachvar"
|
28 years ago |