Mercurial > hg > dmlib
view dmfile.h @ 275:26d714c72c0f
Cleanups.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 10 Oct 2012 21:23:18 +0300 |
parents | 32250b436bca |
children | d0257d0004f6 |
line wrap: on
line source
/* * DMLib * -- Main header file * Programmed and designed by Matti 'ccr' Hamalainen * (C) Copyright 2011 Tecnic Software productions (TNSP) */ #ifndef DMFILE_H #define DMFILE_H #include "dmlib.h" /* Plain file endianess functions */ #define DM_DEFINE_FFUNC(xname, xtype, z) \ BOOL dm_fread_ ## xname (FILE *f, xtype *v); \ BOOL dm_fwrite_ ## xname (FILE *f, xtype v); #include "dmfiletmpl.h" #undef DM_DEFINE_FFUNC BOOL dm_fread_str(FILE *f, void *, size_t); BOOL dm_fwrite_str(FILE *f, void *, size_t); #ifdef __cplusplus } #endif #endif // DMFILE_H