comparison src/dmargs.h @ 2401:263093248f26

Change dmPrintWrap() API and move the string argument last.
author Matti Hamalainen <ccr@tnsp.org>
date Sun, 12 Jan 2020 19:32:29 +0200
parents 01c6a5261962
children b7cd5dd0b82e
comparison
equal deleted inserted replaced
2400:01c6a5261962 2401:263093248f26
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);
55 55
56 void dmPrintWrap(FILE *fh, const char *str, 56 void dmPrintWrap(FILE *fh, const int spad, const int rpad,
57 const int spad, const int rpad, const int width); 57 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