diff th_args.h @ 735:31bc1ed07cf5

Renaming BOOL->bool and TRUE/FALSE to true/false, and using stdbool.h if available.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 07 Dec 2022 12:14:39 +0200
parents 29e44a58bc73
children
line wrap: on
line diff
--- a/th_args.h	Wed Dec 07 11:58:54 2022 +0200
+++ b/th_args.h	Wed Dec 07 12:14:39 2022 +0200
@@ -45,10 +45,10 @@
 } th_optarg;
 
 
-BOOL     th_args_process(int argc, char *argv[],
+bool     th_args_process(int argc, char *argv[],
          const th_optarg *opts, const int nopts,
-         BOOL (*handle_option)(int id, char *, char *),
-         BOOL (*handle_other)(char *), const int flags);
+         bool (*handle_option)(int id, char *, char *),
+         bool (*handle_other)(char *), const int flags);
 
 void     th_args_help(FILE *fh, const th_optarg *opts,
          const int nopts, const int flags, const int width);