baby steps to remove 'CallInfo': keeping 'L->func' correct

This commit is contained in:
Roberto Ierusalimschy
2017-10-31 15:54:35 -02:00
parent ad5dcdcf0f
commit c5482468fd
5 changed files with 26 additions and 9 deletions

View File

@@ -1,5 +1,5 @@
/*
** $Id: lobject.h,v 2.124 2017/06/27 11:35:31 roberto Exp roberto $
** $Id: lobject.h,v 2.125 2017/06/29 15:06:44 roberto Exp roberto $
** Type definitions for Lua objects
** See Copyright Notice in lua.h
*/
@@ -311,6 +311,10 @@ typedef struct TValue {
typedef union StackValue {
TValue val;
struct {
TValuefields;
unsigned short previous; /* difference to previous 'func' */
} stkci;
} StackValue;