Mercurial > hg > dmlib
comparison dmresw.h @ 59:c560703e85ed
Add resource writing functions (only work for stdio backend)
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 01 Oct 2012 07:51:08 +0300 |
parents | |
children | be6160981428 |
comparison
equal
deleted
inserted
replaced
58:76a7d469eab9 | 59:c560703e85ed |
---|---|
1 /* | |
2 * DMLib | |
3 * -- Resource management write helpers | |
4 * Programmed and designed by Matti 'ccr' Hamalainen | |
5 * (C) Copyright 2011-2012 Tecnic Software productions (TNSP) | |
6 */ | |
7 #ifndef DMRESW_H | |
8 #define DMRESW_H | |
9 | |
10 #include "dmres.h" | |
11 | |
12 #ifdef __cplusplus | |
13 extern "C" { | |
14 #endif | |
15 | |
16 int dmf_write_str(DMResource *, Uint8 *, size_t); | |
17 BOOL dmf_write_be16(DMResource *, Uint16 *); | |
18 BOOL dmf_write_be32(DMResource *, Uint32 *); | |
19 BOOL dmf_write_le16(DMResource *, Uint16 *); | |
20 BOOL dmf_write_le32(DMResource *, Uint32 *); | |
21 | |
22 #ifdef DM_HAVE_64BIT | |
23 BOOL dmf_write_be64(DMResource *, Uint64 *); | |
24 BOOL dmf_write_le64(DMResource *, Uint64 *); | |
25 #endif | |
26 | |
27 | |
28 #ifdef __cplusplus | |
29 } | |
30 #endif | |
31 | |
32 #endif // DMRESW_H |