diff options
| -rw-r--r-- | ltests.h | 6 |
1 files changed, 5 insertions, 1 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: ltests.h,v 2.39 2014/07/24 19:33:29 roberto Exp roberto $ | 2 | ** $Id: ltests.h,v 2.40 2014/10/01 11:54:56 roberto Exp roberto $ |
| 3 | ** Internal Header for Debugging of the Lua Implementation | 3 | ** Internal Header for Debugging of the Lua Implementation |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -104,5 +104,9 @@ void *debug_realloc (void *ud, void *block, size_t osize, size_t nsize); | |||
| 104 | #define LUAI_USER_ALIGNMENT_T union { char b[sizeof(void*) * 8]; } | 104 | #define LUAI_USER_ALIGNMENT_T union { char b[sizeof(void*) * 8]; } |
| 105 | 105 | ||
| 106 | 106 | ||
| 107 | /* check macro 'luai_numinvalidop' */ | ||
| 108 | #undef luai_numinvalidop | ||
| 109 | #define luai_numinvalidop(op,a,b) (op == LUA_OPADD && a == 1.1 && b == 1) | ||
| 110 | |||
| 107 | #endif | 111 | #endif |
| 108 | 112 | ||
