comparison src/dmargs.h @ 2402:b7cd5dd0b82e

Merge one more change from th-libs args processing.
author Matti Hamalainen <ccr@tnsp.org>
date Sun, 12 Jan 2020 20:50:45 +0200
parents 263093248f26
children c6ee41fd98dd
comparison
equal deleted inserted replaced
2401:263093248f26 2402:b7cd5dd0b82e
49 const DMOptArg *opts, const int nopts, 49 const DMOptArg *opts, const int nopts,
50 BOOL (*handle_option)(int id, char *, char *), 50 BOOL (*handle_option)(int id, char *, char *),
51 BOOL (*handle_other)(char *), const int flags); 51 BOOL (*handle_other)(char *), const int flags);
52 52
53 void dmArgsPrintHelp(FILE *fh, const DMOptArg *opts, 53 void dmArgsPrintHelp(FILE *fh, const DMOptArg *opts,
54 const int nopts, const int flags); 54 const int nopts, const int flags, const int width);
55 55
56 void dmPrintWrap(FILE *fh, const int spad, const int rpad, 56 void dmPrintWrap(FILE *fh, const int spad,
57 const int width, const char *str); 57 const int rpad, const int width, const char *str);
58 58
59 #ifdef __cplusplus 59 #ifdef __cplusplus
60 } 60 }
61 #endif 61 #endif
62 #endif // DMARGS_H 62 #endif // DMARGS_H