comparison src/dmfile.h @ 1474:6b1f41ca300a

Add dmWriteDataFile() helper function.
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 11 May 2018 01:59:49 +0300
parents c543f5ae92d5
children 9807ae37ad69
comparison
equal deleted inserted replaced
1473:c543f5ae92d5 1474:6b1f41ca300a
29 29
30 BOOL dm_fread_byte(FILE *f, Uint8 *); 30 BOOL dm_fread_byte(FILE *f, Uint8 *);
31 BOOL dm_fwrite_byte(FILE *f, const Uint8); 31 BOOL dm_fwrite_byte(FILE *f, const Uint8);
32 32
33 33
34 int dmWriteDataFile(FILE *outFile, const char *filename, const Uint8 *buf, const size_t bufSize);
34 int dmReadDataFile(FILE *inFile, const char *filename, Uint8 **pbuf, size_t *pbufSize); 35 int dmReadDataFile(FILE *inFile, const char *filename, Uint8 **pbuf, size_t *pbufSize);
35 36
36 37
37 #ifdef __cplusplus 38 #ifdef __cplusplus
38 } 39 }