summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTazyFoundSoup <gardendistrict0x0@outlook.com>2026-03-29 10:05:56 +1100
committerTazyFoundSoup <gardendistrict0x0@outlook.com>2026-03-29 10:05:56 +1100
commit00574cca7b0cf820f4808a127891b5dc86c9d2a7 (patch)
tree24f4bdb6be93d7f80262cab0e6ff1c657fa8ab8a
parent19f07f2eb8c42cae841a350589024b60fec7e125 (diff)
fix(bridges): Move stdio stream source code to src/ dir
-rw-r--r--include/bridges/stdio/stream.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/include/bridges/stdio/stream.c b/include/bridges/stdio/stream.c
deleted file mode 100644
index 72cee46..0000000
--- a/include/bridges/stdio/stream.c
+++ /dev/null
@@ -1,17 +0,0 @@
-#include "../bridges/stdio/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