mirror of
https://github.com/luau-lang/luau.git
synced 2025-05-04 10:33:46 +01:00
Clean up luaconf.h
This commit is contained in:
parent
a3b5b26c0a
commit
06a94fb097
2 changed files with 3 additions and 3 deletions
|
@ -131,4 +131,4 @@
|
|||
#define LUA_VECTOR_SIZE 3
|
||||
#endif
|
||||
|
||||
#define LUA_EXTRA_VALUE_SIZE LUA_VECTOR_SIZE - 2 // note: this assumes vector size >= 2!
|
||||
#define LUA_EXTRA_SIZE LUA_VECTOR_SIZE - 2
|
||||
|
|
|
@ -47,7 +47,7 @@ typedef union
|
|||
typedef struct lua_TValue
|
||||
{
|
||||
Value value;
|
||||
int extra[LUA_EXTRA_VALUE_SIZE];
|
||||
int extra[LUA_EXTRA_SIZE];
|
||||
int tt;
|
||||
} TValue;
|
||||
|
||||
|
@ -377,7 +377,7 @@ typedef struct Closure
|
|||
typedef struct TKey
|
||||
{
|
||||
::Value value;
|
||||
int extra[LUA_EXTRA_VALUE_SIZE];
|
||||
int extra[LUA_EXTRA_SIZE];
|
||||
unsigned tt : 4;
|
||||
int next : 28; /* for chaining */
|
||||
} TKey;
|
||||
|
|
Loading…
Add table
Reference in a new issue