summaryrefslogtreecommitdiff
path: root/hitomezashi_cli.h
diff options
context:
space:
mode:
authoruntir_l <87096069+untir-l@users.noreply.github.com>2022-02-18 10:53:35 +0000
committeruntir-l <87096069+untir-l@users.noreply.github.com>2022-02-25 09:56:49 +0000
commitbc38b4de9a014e96122b15d8330d5c8da2ad4d71 (patch)
tree9481232705a609d2557f2a53fd911884621bcbb8 /hitomezashi_cli.h
parent7bfdc9e2e8e27bfcfb42dba4833c4afc92b368d9 (diff)
downloadhitomezashi-bc38b4de9a014e96122b15d8330d5c8da2ad4d71.tar
hitomezashi-bc38b4de9a014e96122b15d8330d5c8da2ad4d71.tar.gz
hitomezashi-bc38b4de9a014e96122b15d8330d5c8da2ad4d71.zip
Use clang-format
Diffstat (limited to 'hitomezashi_cli.h')
-rw-r--r--hitomezashi_cli.h18
1 files changed, 10 insertions, 8 deletions
diff --git a/hitomezashi_cli.h b/hitomezashi_cli.h
index 0147e41..0aad37b 100644
--- a/hitomezashi_cli.h
+++ b/hitomezashi_cli.h
@@ -4,17 +4,19 @@
#include <stddef.h>
enum Hitomezashi_Cli_Exit_Code {
- Hitomezashi_Cli_Exit_Code_Success = 0,
- Hitomezashi_Cli_Exit_Code_Err_Handle_Args = 1,
- Hitomezashi_Cli_Exit_Code_Err_Print_Help = 2,
- Hitomezashi_Cli_Exit_Code_Err_Sdl_Init = 3,
- Hitomezashi_Cli_Exit_Code_Err_State_Init = 4,
- Hitomezashi_Cli_Exit_Code_Err_Save_Image = 5,
+ Hitomezashi_Cli_Exit_Code_Success = 0,
+ Hitomezashi_Cli_Exit_Code_Err_Handle_Args = 1,
+ Hitomezashi_Cli_Exit_Code_Err_Print_Help = 2,
+ Hitomezashi_Cli_Exit_Code_Err_Sdl_Init = 3,
+ Hitomezashi_Cli_Exit_Code_Err_State_Init = 4,
+ Hitomezashi_Cli_Exit_Code_Err_Save_Image = 5,
};
-void hitomezashi_cli_handle_args(char **out_file_path, int *x_pattern_len, int *y_pattern_len, char **x_pattern, char **y_pattern, int *gap, int *thickness, int argc, char **argv);
+void hitomezashi_cli_handle_args(char **out_file_path, int *x_pattern_len,
+ int *y_pattern_len, char **x_pattern,
+ char **y_pattern, int *gap, int *thickness,
+ int argc, char **argv);
void hitomezashi_cli_help(void);
char *hitomezashi_cli_ascii_binary_str_to_ints(char *ascii_str, size_t n);
-
#endif // HITOMEZASHI_CLI_H