Roberto Ierusalimschy
|
20a48a818f
a file handle must be a userdata.
|
28 years ago |
Roberto Ierusalimschy
|
da585783e3
new method to handle current files, with global variables
|
28 years ago |
Roberto Ierusalimschy
|
88f020b626
new interface to "lua_seterrormethod" and "lua_settagmethod", to
|
28 years ago |
Roberto Ierusalimschy
|
e931c7c0f6
error message always shows file names.
|
28 years ago |
Roberto Ierusalimschy
|
2a1da64872
"lua_getobjname" must return "tag-method" and not "fallback".
|
28 years ago |
Roberto Ierusalimschy
|
33ace03b5a
udata is just void * again, so there is no point for function "getbyte".
|
28 years ago |
Roberto Ierusalimschy
|
4aade854bb
correction of name (and "iternal" was wrong, any way).
|
28 years ago |
Roberto Ierusalimschy
|
f93704728f
one cannot "create" a userdata.
|
28 years ago |
Roberto Ierusalimschy
|
3a9516ffc8
luaL check functions do not need the function name (it can be
|
28 years ago |
Roberto Ierusalimschy
|
42fa305649
better error messages;
|
28 years ago |
Roberto Ierusalimschy
|
075b7918c3
new function "getintmethod"
|
28 years ago |
Roberto Ierusalimschy
|
4355e1afcd
"getbyte" returns userdata size when called without second parameter.
|
28 years ago |
Roberto Ierusalimschy
|
efaaf99c42
first version of "setglobal" and "getglobal" internal methods.
|
28 years ago |
Roberto Ierusalimschy
|
264f8c5e7b
new (internal?) functions to manipulate userdata
|
28 years ago |
Roberto Ierusalimschy
|
052a1cc46c
files now have proper tags.
|
28 years ago |
Roberto Ierusalimschy
|
2de803c250
new header 'auxlib.h' + new function luaL_verror
|
28 years ago |
Roberto Ierusalimschy
|
eea734aa88
new module 'auxlib' centralizes functions to get/check parameters.
|
28 years ago |
Roberto Ierusalimschy
|
ec422ec7d0
skips can be nested (why not?).
|
28 years ago |
Roberto Ierusalimschy
|
6a9efa8b8e
useless include.
|
29 years ago |
Roberto Ierusalimschy
|
169870e37d
BUG: ISO chars are negative, ISO ints are not.
|
29 years ago |
Roberto Ierusalimschy
|
389e808c60
although an ANSI function, some systems do not offer "strerror"
|
29 years ago |
Roberto Ierusalimschy
|
450465c4d4
new parameters for "read" and "write". BIG CHANGE.
|
29 years ago |
Roberto Ierusalimschy
|
37bf74efb7
some compilers do not accept "stdin"/"stdout" as constants.
|
29 years ago |
Roberto Ierusalimschy
|
f025b0d160
"pushnil" is not needed (default return is nil).
|
29 years ago |
Roberto Ierusalimschy
|
9a1948e67d
small correction.
|
29 years ago |
Roberto Ierusalimschy
|
29f0021837
variables which contain string lengths must be long (if they also may
|
29 years ago |
Roberto Ierusalimschy
|
01ea523b80
small corrections.
|
29 years ago |
Roberto Ierusalimschy
|
3ec9ee0d0f
new function "luaI_openlib" to help open libs.
|
29 years ago |
Roberto Ierusalimschy
|
eadbb9cff4
"stat" is not ansi.
|
29 years ago |
Roberto Ierusalimschy
|
f37e65d1cb
"exit" has an optional parameter of status.
|
29 years ago |