Mercurial > hg > dmlib
diff dmfiletmpl.h @ 0:32250b436bca
Initial re-import.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Fri, 28 Sep 2012 01:54:23 +0300 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/dmfiletmpl.h Fri Sep 28 01:54:23 2012 +0300 @@ -0,0 +1,17 @@ +/* + * DMLib + * -- Plain streamed file I/O endianess functions + * Programmed and designed by Matti 'ccr' Hamalainen + * (C) Copyright 2011 Tecnic Software productions (TNSP) + */ + +DM_DEFINE_FFUNC(le16, Uint16, LE16) +DM_DEFINE_FFUNC(le32, Uint32, LE32) + +DM_DEFINE_FFUNC(be16, Uint16, BE16) +DM_DEFINE_FFUNC(be32, Uint32, BE32) + +#ifdef DM_HAVE_64BIT +DM_DEFINE_FFUNC(le64, Uint64, LE64) +DM_DEFINE_FFUNC(be64, Uint64, BE64) +#endif