Mercurial > hg > th-libs
comparison th_util.h @ 462:a90fe2c4c636
Cleanups.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 10 May 2018 15:49:16 +0300 |
parents | 347bfd3e017e |
children | bdee04d21282 |
comparison
equal
deleted
inserted
replaced
461:04320ca79407 | 462:a90fe2c4c636 |
---|---|
143 | 143 |
144 void THERR_V(const char *fmt, va_list ap); | 144 void THERR_V(const char *fmt, va_list ap); |
145 void THMSG_V(int level, const char *fmt, va_list ap); | 145 void THMSG_V(int level, const char *fmt, va_list ap); |
146 void THPRINT_V(int level, const char *fmt, va_list ap); | 146 void THPRINT_V(int level, const char *fmt, va_list ap); |
147 | 147 |
148 void *th_malloc(size_t); | 148 void *th_malloc(size_t len); |
149 void *th_malloc0(size_t); | 149 void *th_malloc0(size_t len); |
150 void *th_calloc(size_t, size_t); | 150 void *th_calloc(size_t n, size_t len); |
151 void *th_realloc(void *ptr, size_t); | 151 void *th_realloc(void *ptr, size_t len); |
152 void th_free(void *ptr); | 152 void th_free(void *ptr); |
153 void th_free_r_real(void **ptr); | 153 void th_free_r_real(void **ptr); |
154 | 154 |
155 #define th_free_r(ptr) th_free_r_real((void **) ptr) | 155 #define th_free_r(ptr) th_free_r_real((void **) ptr) |
156 | 156 |