summaryrefslogtreecommitdiff
path: root/src/stream.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stream.c')
-rw-r--r--src/stream.c16
1 files changed, 1 insertions, 15 deletions
diff --git a/src/stream.c b/src/stream.c
index b8e2647..19f4707 100644
--- a/src/stream.c
+++ b/src/stream.c
@@ -1,17 +1,3 @@
#include <tinyff/stream.h>
-size_t ff_file_read(void *ptr, size_t size, void *user)
-{
- FILE *f = (FILE *)user;
- return fread(ptr, size, 1, f);
-}
-
-ff_stream ff_create_file_stream(FILE *f)
-{
- ff_stream stream;
- stream.read = ff_file_read;
- stream.user = (void *)f;
- return stream;
-}
-
-// Memory stream coming soon \ No newline at end of file
+// Hosted environments: Use bridges/stdio/stream.h \ No newline at end of file