instance_globals update to include lua_ver storage
This commit is contained in:
@@ -700,6 +700,8 @@ struct role_filter {
|
||||
#define WIZKIT_MAX 128
|
||||
#define CVT_BUF_SIZE 64
|
||||
|
||||
#define LUA_VER_BUFSIZ 20
|
||||
|
||||
struct instance_globals {
|
||||
|
||||
/* apply.c */
|
||||
@@ -1253,6 +1255,9 @@ struct instance_globals {
|
||||
int poly_zapped;
|
||||
boolean obj_zapped;
|
||||
|
||||
/* new stuff */
|
||||
char lua_ver[LUA_VER_BUFSIZ];
|
||||
|
||||
unsigned long magic; /* validate that structure layout is preserved */
|
||||
};
|
||||
|
||||
|
||||
@@ -691,6 +691,9 @@ const struct instance_globals g_init = {
|
||||
UNDEFINED_VALUE, /* poly_zap */
|
||||
UNDEFINED_VALUE, /* obj_zapped */
|
||||
|
||||
/* new */
|
||||
DUMMY, /* lua_ver[LUA_VER_BUFSIZ] */
|
||||
|
||||
IVMAGIC /* used to validate that structure layout has been preserved */
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user