equal
deleted
inserted
replaced
105 #define LUA_MINBUFFER 32 |
105 #define LUA_MINBUFFER 32 |
106 #endif |
106 #endif |
107 |
107 |
108 |
108 |
109 #ifndef lua_lock |
109 #ifndef lua_lock |
110 #define lua_lock(L) ((void) 0) |
110 #define lua_lock(L) ((void) 0) |
111 #define lua_unlock(L) ((void) 0) |
111 #define lua_unlock(L) ((void) 0) |
112 #endif |
112 #endif |
113 |
113 |
114 #ifndef luai_threadyield |
114 #ifndef luai_threadyield |
115 #define luai_threadyield(L) {lua_unlock(L); lua_lock(L);} |
115 #define luai_threadyield(L) {lua_unlock(L); lua_lock(L);} |
116 #endif |
116 #endif |
117 |
117 |
118 |
118 |
119 /* |
119 /* |
120 ** macro to control inclusion of some hard tests on stack reallocation |
120 ** macro to control inclusion of some hard tests on stack reallocation |
121 */ |
121 */ |
122 #ifndef HARDSTACKTESTS |
122 #ifndef HARDSTACKTESTS |
123 #define condhardstacktests(x) ((void)0) |
123 #define condhardstacktests(x) ((void)0) |
124 #else |
124 #else |
125 #define condhardstacktests(x) x |
125 #define condhardstacktests(x) x |
126 #endif |
126 #endif |