aboutsummaryrefslogtreecommitdiff
path: root/lobject.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2016-08-01 16:51:24 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2016-08-01 16:51:24 -0300
commite4a9e6fcca4ac2a14c9832b1a40b74cdca7016b9 (patch)
treef4e6a467d530017d905a331ea41114cb9333ffd4 /lobject.h
parent9de2bb0d62a2531c47e5b8197f57a48c9aea05d2 (diff)
downloadlua-e4a9e6fcca4ac2a14c9832b1a40b74cdca7016b9.tar.gz
lua-e4a9e6fcca4ac2a14c9832b1a40b74cdca7016b9.tar.bz2
lua-e4a9e6fcca4ac2a14c9832b1a40b74cdca7016b9.zip
do not eliminate varargs from functions that do not use varargs
(confuses the debug lib and gains very little in performance)
Diffstat (limited to 'lobject.h')
-rw-r--r--lobject.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lobject.h b/lobject.h
index 79b467e8..eeddfdef 100644
--- a/lobject.h
+++ b/lobject.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lobject.h,v 2.115 2015/10/28 17:28:40 roberto Exp roberto $ 2** $Id: lobject.h,v 2.116 2015/11/03 18:33:10 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*/
@@ -407,7 +407,7 @@ typedef struct LocVar {
407typedef struct Proto { 407typedef struct Proto {
408 CommonHeader; 408 CommonHeader;
409 lu_byte numparams; /* number of fixed parameters */ 409 lu_byte numparams; /* number of fixed parameters */
410 lu_byte is_vararg; /* 2: declared vararg; 1: uses vararg */ 410 lu_byte is_vararg;
411 lu_byte maxstacksize; /* number of registers needed by this function */ 411 lu_byte maxstacksize; /* number of registers needed by this function */
412 int sizeupvalues; /* size of 'upvalues' */ 412 int sizeupvalues; /* size of 'upvalues' */
413 int sizek; /* size of 'k' */ 413 int sizek; /* size of 'k' */