mirror of
https://github.com/Ed94/metadesk.git
synced 2026-07-26 17:30:10 +00:00
progress on collaping arena->allocator info code paths for strings.h/c, adjusting naming convention
This commit is contained in:
@@ -61,14 +61,14 @@ MD_API CmdLine cmd_line_from_string_list_alloc(AllocatorInfo ainfo, String8
|
||||
_Generic(allocator, \
|
||||
Arena*: cmd_line_insert_opt_push, \
|
||||
AllocatorInfo: cmd_line_insert_opt_alloc, \
|
||||
default: METADESK_NO_RESOLVED_GENERIC_SELECTION \
|
||||
default: MD_generic_selection_fail \
|
||||
) MD_RESOLVED_FUNCTION_CALL(allocator, cmd_line, string, values)
|
||||
|
||||
#define cmd_line_from_string_list(allocator, arguments) \
|
||||
_Generic(allocator, \
|
||||
Arena*: cmd_line_from_string_list_push, \
|
||||
AllocatorInfo: cmd_line_from_string_list_alloc, \
|
||||
default: METADESK_NO_RESOLVED_GENERIC_SELECTION \
|
||||
#define cmd_line_from_string_list(allocator, arguments) \
|
||||
_Generic(allocator, \
|
||||
Arena*: cmd_line_from_string_list_push, \
|
||||
AllocatorInfo: cmd_line_from_string_list_alloc, \
|
||||
default: MD_generic_selection_fail \
|
||||
) MD_RESOLVED_FUNCTION_CALL(allocator, arguments)
|
||||
|
||||
inline U64
|
||||
|
||||
Reference in New Issue
Block a user