"lua_dobuffer" gets an extra argument, with the chunk name

This commit is contained in:
Roberto Ierusalimschy
1998-06-15 18:34:14 -03:00
parent 1917149fdd
commit d97af0de26
3 changed files with 24 additions and 22 deletions

4
lua.h
View File

@@ -1,5 +1,5 @@
/*
** $Id: lua.h,v 1.20 1998/06/05 22:17:44 roberto Exp roberto $
** $Id: lua.h,v 1.21 1998/06/06 21:05:52 roberto Exp roberto $
** Lua - An Extensible Extension Language
** TeCGraf: Grupo de Tecnologia em Computacao Grafica, PUC-Rio, Brazil
** e-mail: lua@tecgraf.puc-rio.br
@@ -41,7 +41,7 @@ void lua_settag (int tag); /* In: object */
void lua_error (char *s);
int lua_dofile (char *filename); /* Out: returns */
int lua_dostring (char *string); /* Out: returns */
int lua_dobuffer (char *buff, int size);
int lua_dobuffer (char *buff, int size, char *name);
/* Out: returns */
int lua_callfunction (lua_Object f);
/* In: parameters; Out: returns */