diff src/dmres.h @ 1606:93d1050eac99

Rename dmf_create_*() functions to dmf_open_*().
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 14 May 2018 11:20:05 +0300
parents f8e9f6b2a41a
children 0cac3360a0aa
line wrap: on
line diff
--- a/src/dmres.h	Mon May 14 10:53:54 2018 +0300
+++ b/src/dmres.h	Mon May 14 11:20:05 2018 +0300
@@ -151,10 +151,10 @@
 int          dmf_open(DMResourceLib *lib, const char *, DMResource **handle);
 void         dmf_close(DMResource *);
 
-int          dmf_create_memio(DMResourceLib *lib, const char *, Uint8 *buf, size_t len, DMResource **phandle);
+int          dmf_open_memio(DMResourceLib *lib, const char *, Uint8 *buf, size_t len, DMResource **phandle);
 #ifdef DM_USE_STDIO
-int          dmf_create_stdio(const char *filename, const char *mode, DMResource **phandle);
-int          dmf_create_stdio_stream(FILE *, DMResource **phandle);
+int          dmf_open_stdio(const char *filename, const char *mode, DMResource **phandle);
+int          dmf_open_stdio_stream(FILE *, DMResource **phandle);
 #endif