new type 'StackValue' for stack elements
(we may want to put extra info there in the future)
This commit is contained in:
5
lfunc.h
5
lfunc.h
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
** $Id: lfunc.h,v 2.16 2017/04/11 18:41:09 roberto Exp roberto $
|
||||
** $Id: lfunc.h,v 2.17 2017/05/04 13:32:01 roberto Exp roberto $
|
||||
** Auxiliary functions to manipulate prototypes and closures
|
||||
** See Copyright Notice in lua.h
|
||||
*/
|
||||
@@ -32,6 +32,9 @@
|
||||
#define upisopen(up) ((up)->v != &(up)->u.value)
|
||||
|
||||
|
||||
#define uplevel(up) check_exp(upisopen(up), cast(StkId, (up)->v))
|
||||
|
||||
|
||||
/*
|
||||
** maximum number of misses before giving up the cache of closures
|
||||
** in prototypes
|
||||
|
||||
Reference in New Issue
Block a user