mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-06-12 23:31:38 -07:00
dump -> raddbgidump
This commit is contained in:
@@ -294,7 +294,7 @@ A list of the layers in the codebase and their associated namespaces is below:
|
||||
depend on `base`.
|
||||
- `raddbgi_cons` (`RADDBGIC_`): Implements an API for constructing files of the
|
||||
RADDBGI debug info file format.
|
||||
- `raddbgi_dump` (`DUMP_`): A dumper utility program for dumping
|
||||
- `raddbgi_dump` (`RADDBGIDUMP_`): A dumper utility program for dumping
|
||||
textualizations of RADDBGI debug info files.
|
||||
- `raddbgi_format` (`RADDBGI_`): Standalone types and helper functions for the
|
||||
RADDBGI debug info file format. Does not depend on `base`.
|
||||
|
||||
@@ -18,9 +18,9 @@
|
||||
////////////////////////////////
|
||||
//~ Program Parameters Parser
|
||||
|
||||
static DUMP_Params*
|
||||
dump_params_from_cmd_line(Arena *arena, CmdLine *cmdline){
|
||||
DUMP_Params *result = push_array(arena, DUMP_Params, 1);
|
||||
static RADDBGIDUMP_Params*
|
||||
raddbgidump_params_from_cmd_line(Arena *arena, CmdLine *cmdline){
|
||||
RADDBGIDUMP_Params *result = push_array(arena, RADDBGIDUMP_Params, 1);
|
||||
|
||||
// get input raddbg
|
||||
{
|
||||
@@ -144,7 +144,7 @@ main(int argc, char **argv){
|
||||
String8List args = os_string_list_from_argcv(arena, argc, argv);
|
||||
CmdLine cmdline = cmd_line_from_string_list(arena, args);
|
||||
|
||||
DUMP_Params *params = dump_params_from_cmd_line(arena, &cmdline);
|
||||
RADDBGIDUMP_Params *params = raddbgidump_params_from_cmd_line(arena, &cmdline);
|
||||
|
||||
// show input errors
|
||||
if (params->errors.node_count > 0 &&
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
////////////////////////////////
|
||||
//~ Program Parameters Type
|
||||
|
||||
typedef struct DUMP_Params{
|
||||
typedef struct RADDBGIDUMP_Params{
|
||||
String8 input_name;
|
||||
String8 input_data;
|
||||
|
||||
@@ -35,11 +35,11 @@ typedef struct DUMP_Params{
|
||||
B8 dump__last;
|
||||
|
||||
String8List errors;
|
||||
} DUMP_Params;
|
||||
} RADDBGIDUMP_Params;
|
||||
|
||||
////////////////////////////////
|
||||
//~ Program Parameters Parser
|
||||
|
||||
static DUMP_Params *dump_params_from_cmd_line(Arena *arena, CmdLine *cmdline);
|
||||
static RADDBGIDUMP_Params *raddbgidump_params_from_cmd_line(Arena *arena, CmdLine *cmdline);
|
||||
|
||||
#endif //RADDBGI_DUMP_H
|
||||
|
||||
Reference in New Issue
Block a user