mirror of
https://github.com/Ed94/metadesk.git
synced 2026-06-24 12:45:00 -07:00
fixup _Generic macro usage
distinct macros failed (didn't realize). Was able to get proper setup with _Generic_L2 pattern
This commit is contained in:
@@ -55,8 +55,8 @@ _Generic(conflicts, \
|
||||
int : scratch_begin__arena, \
|
||||
Arena** : scratch_begin__arena, \
|
||||
AllocatorInfo: scratch_begin__ainfo, \
|
||||
default : assert_generic_selection_fail \
|
||||
) resolved_function_call(conflicts, (Opt_ScratchBegin){__VA_ARGS__})
|
||||
default : assert_generic_sel_fail \
|
||||
) generic_call(conflicts, (Opt_ScratchBegin){__VA_ARGS__})
|
||||
|
||||
#define scratch_end(scratch) temp_end(scratch)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user