From 94b2a68f7f2aaf9139e98f7435cf3af31b3f659f Mon Sep 17 00:00:00 2001 From: Yuichi Nishiwaki Date: Thu, 16 Jan 2014 20:36:22 +0900 Subject: [PATCH] change mwopen's API --- include/picrin/port.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/picrin/port.h b/include/picrin/port.h index 6bb4b173..3ef51c04 100644 --- a/include/picrin/port.h +++ b/include/picrin/port.h @@ -72,7 +72,8 @@ int pic_fclose(pic_file *); /* memory access */ pic_file *pic_mropen(const char *, size_t, const char *); -pic_file *pic_mwopen(char **, size_t *); +pic_file *pic_mwopen(); +const char *pic_getmbuf(pic_file *); /* direct IO with buffering */ size_t pic_fread(void *, size_t, size_t, pic_file *);