diff options
| -rw-r--r-- | lstate.h | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -430,9 +430,9 @@ union GCUnion { | |||
| 430 | 430 | ||
| 431 | /* | 431 | /* |
| 432 | ** macro to convert a Lua object into a GCObject | 432 | ** macro to convert a Lua object into a GCObject |
| 433 | ** (The access to 'tt' tries to ensure that 'v' is actually a Lua object.) | ||
| 434 | */ | 433 | */ |
| 435 | #define obj2gco(v) check_exp((v)->tt >= LUA_TSTRING, &(cast_u(v)->gc)) | 434 | #define obj2gco(v) \ |
| 435 | check_exp(novariant((v)->tt) >= LUA_TSTRING, &(cast_u(v)->gc)) | ||
| 436 | 436 | ||
| 437 | 437 | ||
| 438 | /* actual number of total memory allocated */ | 438 | /* actual number of total memory allocated */ |
