diff options
Diffstat (limited to 'src/build/gluegen.c')
| -rw-r--r-- | src/build/gluegen.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/build/gluegen.c b/src/build/gluegen.c index b2887a9..3e04db8 100644 --- a/src/build/gluegen.c +++ b/src/build/gluegen.c @@ -867,22 +867,6 @@ F( " if (has_%.*s) _feat_end_%.*s();", } _( "}") _( "") -_( "static inline void freevars() {") - for (int i = 1; i < ncvars; ++i) { -F( " extfree(con_getvarcommon(%.*s)->strval);", - cvar_names[i].len, cvar_names[i].s) - } -_( "}") -_( "") -_( "static inline void shuntvars() {") -_( "#ifdef _WIN32") - for (int i = 1; i < ncvars; ++i) { -F( " __builtin_memmove(&%.*s->v1, &%.*s->v2, ", - cvar_names[i].len, cvar_names[i].s, cvar_names[i].len, cvar_names[i].s) -_( " sizeof(struct con_var_common));") - } -_( "#endif") -_( "}") for (int i = 1; i < nevents; ++i) { const char *prefix = event_predicateflags[i] ? "bool CHECK_" : "void EMIT_"; |
