Updated c_library generation to support latest changes with context struct (also prepped for static/dynamic linkage)

This commit is contained in:
2024-12-13 22:09:43 -05:00
parent 16d0e0834f
commit b5cf633e98
18 changed files with 499 additions and 451 deletions

View File

@ -468,5 +468,5 @@ void set_preprocess_define( Str id, b32 is_functional ) {
if (is_functional) {
strbuilder_append_char( & builder, '(' );
}
array_append( _ctx->PreprocessorDefines, cache_str(builder) );
array_append( _ctx->PreprocessorDefines, cache_str( strbuilder_to_str(builder)) );
}