mirror of
https://github.com/lua/lua
synced 2026-09-27 00:28:25 +03:00
"const" !!!
This commit is contained in:
parent
b44e35b773
commit
c787dccd9b
40 changed files with 442 additions and 516 deletions
4
lua.c
4
lua.c
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
** $Id: lua.c,v 1.20 1999/06/24 19:42:02 roberto Exp roberto $
|
||||
** $Id: lua.c,v 1.21 1999/07/02 18:22:38 roberto Exp roberto $
|
||||
** Lua stand-alone interpreter
|
||||
** See Copyright Notice in lua.h
|
||||
*/
|
||||
|
|
@ -52,7 +52,7 @@ static void laction (int i) {
|
|||
}
|
||||
|
||||
|
||||
static int ldo (int (*f)(char *), char *name) {
|
||||
static int ldo (int (*f)(const char *), const char *name) {
|
||||
int res;
|
||||
handler h = lreset();
|
||||
res = f(name); /* dostring | dofile */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue