new way to use vararg' parameters (with ...')

This commit is contained in:
Roberto Ierusalimschy
2004-05-31 15:51:50 -03:00
parent 47eda6ebd8
commit 616438fe9a
13 changed files with 192 additions and 106 deletions

View File

@@ -1,5 +1,5 @@
/*
** $Id: lobject.h,v 2.3 2004/02/20 16:01:05 roberto Exp roberto $
** $Id: lobject.h,v 2.4 2004/03/15 21:04:33 roberto Exp roberto $
** Type definitions for Lua objects
** See Copyright Notice in lua.h
*/
@@ -249,6 +249,10 @@ typedef struct Proto {
} Proto;
/* mask for new-style vararg */
#define NEWSTYLEVARARG 2
typedef struct LocVar {
TString *varname;
int startpc; /* first point where variable is active */