Refactor: command_create_f_to_o() and command_get_profile()
This commit is contained in:
@@ -18,6 +18,12 @@ struct CommandOptions
|
||||
StringView* files;
|
||||
};
|
||||
|
||||
struct ProfileResult
|
||||
{
|
||||
size_t compiler_flags_count;
|
||||
StringView* compiler_flags_buf;
|
||||
};
|
||||
|
||||
struct Command
|
||||
{
|
||||
Arena* a;
|
||||
@@ -28,8 +34,10 @@ struct Command
|
||||
typedef struct Argument Argument;
|
||||
typedef struct Command Command;
|
||||
typedef struct CommandOptions CommandOptions;
|
||||
typedef struct ProfileResult ProfileResult;
|
||||
|
||||
Command command_create_f_to_o(CommandOptions* co);
|
||||
ProfileResult command_get_profile(CommandOptions* co);
|
||||
|
||||
int command_run(Command* cmd);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user