summaryrefslogtreecommitdiff
path: root/lobject.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2004-05-31 15:51:50 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2004-05-31 15:51:50 -0300
commit616438fe9ab5e3ae7d73e9ad838e9b7bdea1ea59 (patch)
tree78322d820e3af1ca6645ed08eaa65a8f0aa04fec /lobject.h
parent47eda6ebd83785908ac26f8dd06dff36a7d42664 (diff)
downloadlua-616438fe9ab5e3ae7d73e9ad838e9b7bdea1ea59.tar.gz
lua-616438fe9ab5e3ae7d73e9ad838e9b7bdea1ea59.tar.bz2
lua-616438fe9ab5e3ae7d73e9ad838e9b7bdea1ea59.zip
new way to use `vararg' parameters (with `...')
Diffstat (limited to 'lobject.h')
-rw-r--r--lobject.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/lobject.h b/lobject.h
index ee23f3db..ada627fd 100644
--- a/lobject.h
+++ b/lobject.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lobject.h,v 2.3 2004/02/20 16:01:05 roberto Exp roberto $ 2** $Id: lobject.h,v 2.4 2004/03/15 21:04:33 roberto Exp roberto $
3** Type definitions for Lua objects 3** Type definitions for Lua objects
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -249,6 +249,10 @@ typedef struct Proto {
249} Proto; 249} Proto;
250 250
251 251
252/* mask for new-style vararg */
253#define NEWSTYLEVARARG 2
254
255
252typedef struct LocVar { 256typedef struct LocVar {
253 TString *varname; 257 TString *varname;
254 int startpc; /* first point where variable is active */ 258 int startpc; /* first point where variable is active */