Improvements in the handling of signals
Added 'volatile' to 'l_signalT' variables plus some minor changes.
This commit is contained in:
4
lstate.h
4
lstate.h
@@ -173,7 +173,7 @@ typedef struct CallInfo {
|
||||
union {
|
||||
struct { /* only for Lua functions */
|
||||
const Instruction *savedpc;
|
||||
l_signalT trap;
|
||||
volatile l_signalT trap;
|
||||
int nextraargs; /* # of extra arguments in vararg functions */
|
||||
} l;
|
||||
struct { /* only for C functions */
|
||||
@@ -300,7 +300,7 @@ struct lua_State {
|
||||
int stacksize;
|
||||
int basehookcount;
|
||||
int hookcount;
|
||||
l_signalT hookmask;
|
||||
volatile l_signalT hookmask;
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user