Mercurial > hg > th-libs
comparison th_util.h @ 161:a765a51cbd5c
Make th_print_wrap() function public and move the code to th_util.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 09 Feb 2015 18:41:00 +0200 |
parents | e96c900ca6f1 |
children | 578d9298cc1e |
comparison
equal
deleted
inserted
replaced
160:a69764b4305f | 161:a765a51cbd5c |
---|---|
120 char *author, char *license); | 120 char *author, char *license); |
121 void th_print_banner(FILE *outFile, const char *binName, const char *usage); | 121 void th_print_banner(FILE *outFile, const char *binName, const char *usage); |
122 | 122 |
123 int th_term_width(); | 123 int th_term_width(); |
124 int th_term_height(); | 124 int th_term_height(); |
125 | |
126 void th_print_wrap(FILE *fh, const char *str, int spad, int rpad, int width); | |
125 | 127 |
126 int th_get_error(); | 128 int th_get_error(); |
127 int th_errno_to_error(int error); | 129 int th_errno_to_error(int error); |
128 const char *th_error_str(int error); | 130 const char *th_error_str(int error); |
129 | 131 |