diff options
Diffstat (limited to 'source/q_shared.h')
-rw-r--r-- | source/q_shared.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/q_shared.h b/source/q_shared.h index bb2955b..a62b2bf 100644 --- a/source/q_shared.h +++ b/source/q_shared.h @@ -591,9 +591,10 @@ CVARS (console variables) #define CVAR_LATCH 16 // save changes until server restart struct cvar_s; +struct genctx_s; typedef void (*xchanged_t)( struct cvar_s * ); -typedef const char *( *xgenerator_t )( const char *, int ); +typedef void (*xgenerator_t)( struct genctx_s * ); // nothing outside the cvar.*() functions should modify these fields! typedef struct cvar_s { |