Roberto Ierusalimschy
|
7192afafee
new module policy: C modules do not create globals and do not register
|
15 anos atrás |
Roberto Ierusalimschy
|
a139e2e003
old (and complex) luaL_findtable now used only in compatibility code
|
15 anos atrás |
Roberto Ierusalimschy
|
bef5980744
no more support for old Mac OS systems
|
15 anos atrás |
Roberto Ierusalimschy
|
9f48712c15
use ANSI versions of DLL functions in Windows
|
15 anos atrás |
Roberto Ierusalimschy
|
2c1a5d678d
factoring out common code in 'module' and 'luaL_openlib'
|
15 anos atrás |
Roberto Ierusalimschy
|
5ca7cdd709
for compatibility only: 'module' changes the first upvalue of
|
15 anos atrás |
Roberto Ierusalimschy
|
1514e49d43
avoid using function environments in C libraries (as it probably will
|
15 anos atrás |
Roberto Ierusalimschy
|
b678f246a4
HINSTANCE -> HMODULE (they are the same thing, but the MS documentation
|
15 anos atrás |
Roberto Ierusalimschy
|
900b7d4514
on 64-bit machines, an address may not fit into a 'long', so it
|
15 anos atrás |
Roberto Ierusalimschy
|
e4b4623abc
'searchpath' changes dots into directory separators
|
15 anos atrás |
Roberto Ierusalimschy
|
d320c908d0
conversion from pointer to void to pointer to function seems more
|
15 anos atrás |
Roberto Ierusalimschy
|
572b94bbcb
include of 'windows.h' moved to where it is needed
|
15 anos atrás |
Roberto Ierusalimschy
|
692209fa8d
Dynamic C functions should be created with the global table as their
|
15 anos atrás |
Roberto Ierusalimschy
|
a541ada194
"-"-trick in C packages now accept name-v13...
|
15 anos atrás |
Roberto Ierusalimschy
|
8cd395564c
no need to use two different defines (LUA_DL_DLOPEN and LUA_USE_DLOPEN)
|
15 anos atrás |
Roberto Ierusalimschy
|
35e729fa6d
comments + small details
|
15 anos atrás |
Roberto Ierusalimschy
|
f84b575cfa
no more pseudoindex LUA_GLOBALSINDEX; global table now accessible
|
15 anos atrás |
Roberto Ierusalimschy
|
2108754e46
macro name change: LUA_PATH->LUA_PATH_VAR, LUA_CPATH->LUA_CPATH_VAR,
|
15 anos atrás |
Roberto Ierusalimschy
|
de6fc75d63
several configuration options that do not change often moved out of
|
15 anos atrás |
Roberto Ierusalimschy
|
a6f465f558
new mark LUAMOD_API for all luaopen_* functions
|
15 anos atrás |
Roberto Ierusalimschy
|
95020afb63
'module' returns the new module (to be used with lexical environments)
|
15 anos atrás |
Roberto Ierusalimschy
|
a5382b763c
new function lua_copy
|
16 anos atrás |
Roberto Ierusalimschy
|
4b44793dc5
"bug": lua_createtable with sizes changed (array <-> record)
|
16 anos atrás |
Roberto Ierusalimschy
|
a5f68589c0
avoid using 'UNUSED' (not defined outside the kernel)
|
16 anos atrás |
Roberto Ierusalimschy
|
5cdec7d124
added "\n" at the end of 'package.config' (so that the string
|
16 anos atrás |
Roberto Ierusalimschy
|
7e9bc41fe7
'loadlib(lib, "*")' loads 'lib' with global names exported to all
|
16 anos atrás |
Roberto Ierusalimschy
|
afe849c9b4
change in error message
|
17 anos atrás |
Roberto Ierusalimschy
|
bb48f456d9
bug: 'module' now checks that is caller is a Lua function
|
17 anos atrás |
Roberto Ierusalimschy
|
bc82b4d78a
new function 'package.searchpath'
|
17 anos atrás |
Roberto Ierusalimschy
|
8d3dd04137
clearing some old compatibility code
|
18 anos atrás |