Mercurial > hg > dmlib
diff src/dmres.h @ 1881:73545a442ffe
Move dmresw function declarations to dmres.h
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 25 Jun 2018 13:00:40 +0300 |
parents | 7f9fe2a9a87e |
children | e69de47d2419 |
line wrap: on
line diff
--- a/src/dmres.h Mon Jun 25 03:07:26 2018 +0300 +++ b/src/dmres.h Mon Jun 25 13:00:40 2018 +0300 @@ -184,6 +184,16 @@ #undef DM_DEFINE_FFUNC +BOOL dmf_write_str(DMResource *fh, const void *data, const size_t len); +BOOL dmf_write_byte(DMResource *fh, const Uint8 val); + +#define DM_DEFINE_FFUNC(xname, xtype, z) \ +BOOL dmf_write_ ## xname (DMResource *fh, const xtype v); + +#include "dmfiletmpl.h" + +#undef DM_DEFINE_FFUNC + #ifdef __cplusplus }