summaryrefslogtreecommitdiff
path: root/libretro/libretro-common/include/streams
diff options
context:
space:
mode:
Diffstat (limited to 'libretro/libretro-common/include/streams')
-rw-r--r--libretro/libretro-common/include/streams/memory_stream.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/libretro/libretro-common/include/streams/memory_stream.h b/libretro/libretro-common/include/streams/memory_stream.h
index dca8e7a..fba8783 100644
--- a/libretro/libretro-common/include/streams/memory_stream.h
+++ b/libretro/libretro-common/include/streams/memory_stream.h
@@ -36,9 +36,9 @@ memstream_t *memstream_open(unsigned writing);
void memstream_close(memstream_t *stream);
-size_t memstream_read(memstream_t *stream, void *data, size_t bytes);
+uint64_t memstream_read(memstream_t *stream, void *data, uint64_t bytes);
-size_t memstream_write(memstream_t *stream, const void *data, size_t bytes);
+uint64_t memstream_write(memstream_t *stream, const void *data, uint64_t bytes);
int memstream_getc(memstream_t *stream);
@@ -46,15 +46,15 @@ void memstream_putc(memstream_t *stream, int c);
char *memstream_gets(memstream_t *stream, char *buffer, size_t len);
-size_t memstream_pos(memstream_t *stream);
+uint64_t memstream_pos(memstream_t *stream);
void memstream_rewind(memstream_t *stream);
-int memstream_seek(memstream_t *stream, int offset, int whence);
+int64_t memstream_seek(memstream_t *stream, int64_t offset, int whence);
-void memstream_set_buffer(uint8_t *buffer, size_t size);
+void memstream_set_buffer(uint8_t *buffer, uint64_t size);
-size_t memstream_get_last_size(void);
+uint64_t memstream_get_last_size(void);
RETRO_END_DECLS