comparison dmres.h @ 74:23ac82365a65

Add file mode to dmf_create_stdio().
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 02 Oct 2012 05:49:50 +0300
parents c560703e85ed
children d97accc86365
comparison
equal deleted inserted replaced
73:295d08376744 74:23ac82365a65
122 122
123 // Opening and closing resources 123 // Opening and closing resources
124 DMResource * dmf_open(const char *); 124 DMResource * dmf_open(const char *);
125 DMResource * dmf_open_memio(const char *, Uint8 *buf, size_t len); 125 DMResource * dmf_open_memio(const char *, Uint8 *buf, size_t len);
126 #ifdef DMRES_STDIO 126 #ifdef DMRES_STDIO
127 DMResource * dmf_create_stdio(const char *); 127 DMResource * dmf_create_stdio(const char *filename, const char *mode);
128 DMResource * dmf_create_stdio_stream(FILE *); 128 DMResource * dmf_create_stdio_stream(FILE *);
129 #endif 129 #endif
130 void dmf_close(DMResource *); 130 void dmf_close(DMResource *);
131 131
132 132