Mercurial > hg > dmlib
view src/dmresw.h @ 1747:5e928618fdc8
Change DMGrowBuf API somewhat and implement more copy operations.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 11 Jun 2018 13:57:07 +0300 |
parents | 0cac3360a0aa |
children |
line wrap: on
line source
/* * DMLib * -- Resource management write helpers * Programmed and designed by Matti 'ccr' Hamalainen * (C) Copyright 2011-2015 Tecnic Software productions (TNSP) */ #ifndef DMRESW_H #define DMRESW_H #include "dmres.h" #ifdef __cplusplus extern "C" { #endif 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 } #endif #endif // DMRESW_H