Mercurial > hg > th-libs
comparison th_ioctx.c @ 395:bffd3caf2d2c
Rename TH_PRI{u,d,x}* macros to match with standard ISO C99 inttypes.h PRI*.
This breaks the API again. Hooray.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 03 Mar 2016 14:13:31 +0200 |
parents | faeeac291a6c |
children | 1b3472ba7b23 |
comparison
equal
deleted
inserted
replaced
394:7df5991a0ed3 | 395:bffd3caf2d2c |
---|---|
97 char *msg = th_strdup_vprintf(fmt, ap); | 97 char *msg = th_strdup_vprintf(fmt, ap); |
98 | 98 |
99 if (ctx->error != NULL) | 99 if (ctx->error != NULL) |
100 ctx->error((struct th_ioctx *) ctx, err, msg); | 100 ctx->error((struct th_ioctx *) ctx, err, msg); |
101 else | 101 else |
102 THERR("'%s' #%" TH_PRIu_SIZE_T ": %s\n", ctx->filename, ctx->line, msg); | 102 THERR("'%s' #%" PRIu_SIZE_T ": %s\n", ctx->filename, ctx->line, msg); |
103 | 103 |
104 th_free(msg); | 104 th_free(msg); |
105 } | 105 } |
106 | 106 |
107 | 107 |