42 Commits (d9d04a9274ec09e1a890acb46468640f45831344)

Author SHA1 Message Date
Roberto Ierusalimschy a775a2d81a check first whether function is global. 26 years ago
Roberto Ierusalimschy 5a8bb00df4 storing chunk "sources" instead of "filenames". 26 years ago
Roberto Ierusalimschy da18ec5d54 warnings... 26 years ago
Roberto Ierusalimschy 6a853fcb8b details (from lhf) 26 years ago
Roberto Ierusalimschy f04c83e075 new function "lua_next" (+ new implementation for "next") 26 years ago
Roberto Ierusalimschy d5feffdb60 new function lua_nextvar 26 years ago
Roberto Ierusalimschy bf6d2ccf92 details 26 years ago
Roberto Ierusalimschy fb1cf6ab2d clearer way to set tables. 26 years ago
Roberto Ierusalimschy 5687949560 "lua_debug", "lua_callhook" and "lua_linehook" must be inside "lua_state". 26 years ago
Roberto Ierusalimschy 80001ab0eb getlocal cannot return the local itself, since lua_isstring and 26 years ago
Roberto Ierusalimschy fd25d4ad85 no need to define functions for macros... 26 years ago
Roberto Ierusalimschy 54840fb256 new functions to manipulate C global variables 26 years ago
Roberto Ierusalimschy 59f8e6fb77 details ("settable") 26 years ago
Roberto Ierusalimschy 5ca2709ba0 small warnings 26 years ago
Roberto Ierusalimschy b1450721be new function "lua_nups" (number of upvalues). 27 years ago
Roberto Ierusalimschy cc117253c8 new implementation for error handling: on error, function _ERRORMESSAGE 27 years ago
Roberto Ierusalimschy 1d8edd347d small changes to use new auxiliar functions 27 years ago
Roberto Ierusalimschy 02134b4a87 name: lua_pushCclosure -> lua_pushcclosure. 27 years ago
Roberto Ierusalimschy 0969a971cd better use of "ASSERT". 27 years ago
Roberto Ierusalimschy 043c2ac258 new names for "lua_pushlstr" and "lua_getstrlen" 27 years ago
Roberto Ierusalimschy 88a2023c32 support for strings with '\0' 27 years ago
Roberto Ierusalimschy f380d627f8 usefull macros also available as functions 27 years ago
Roberto Ierusalimschy b3b7cf7335 BUG: "lua_getstring" may create a new string, so should check GC 27 years ago
Roberto Ierusalimschy 0e1058cfdd small optimizations in switch order 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 fae0b52825 small bugs in error report 27 years ago
Roberto Ierusalimschy de79e7fc58 back to "lua_upvalue"... (seems better choice) 27 years ago
Roberto Ierusalimschy 94144a7821 otimization: closures without upvalues don't need to be closures 27 years ago
Roberto Ierusalimschy 034f16892e better treatment of MARKs and DEBUG cases. 27 years ago
Roberto Ierusalimschy 80b3d28f4a details (mainly error messages) 27 years ago
Roberto Ierusalimschy 03160920cf store "functofind" in stack top, so doesn't need this field in 27 years ago
Roberto Ierusalimschy 5482992dec other access method for C upvalues (as arguments) 27 years ago
Roberto Ierusalimschy ef37c87e93 no more 'globalbag' 27 years ago
Roberto Ierusalimschy 9ae0c082a3 small details by lint. 27 years ago
Roberto Ierusalimschy accd7bc253 small modifications (format, small optimizations, etc) 27 years ago
Roberto Ierusalimschy 6153200bc2 make sure there is no mem problems, using %.ns instead of %s for luaV_error. 27 years ago
Roberto Ierusalimschy 592a3f289b first implementation of centralized global state. 27 years ago
Roberto Ierusalimschy 45cad43c3f "lua_open": now lua has an explicit open operation. 27 years ago
Roberto Ierusalimschy e78cf96c97 first version of Cclosures. 27 years ago
Roberto Ierusalimschy a580480b07 new implementation for globals: Global value is stored in TaggedString 28 years ago
Roberto Ierusalimschy ea169d2083 auxiliar functions from Lua API 28 years ago