diff options
| author | TazyFoundSoup <gardendistrict0x0@outlook.com> | 2026-03-28 16:27:54 +1100 |
|---|---|---|
| committer | TazyFoundSoup <gardendistrict0x0@outlook.com> | 2026-03-28 16:30:38 +1100 |
| commit | 4ad97bd1527c6ccb2f31c61e9da33f2900379c04 (patch) | |
| tree | 04ce34ae274b280c500797caaf308681fae62182 /bridges/stdio/stream.h | |
| parent | 99c82d92180a7c1b6a1d3393d91f9fef0369edb5 (diff) | |
fix(bridges): Create new file stream moved to stdio bridge
Diffstat (limited to 'bridges/stdio/stream.h')
| -rw-r--r-- | bridges/stdio/stream.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/bridges/stdio/stream.h b/bridges/stdio/stream.h new file mode 100644 index 0000000..1ae2dbc --- /dev/null +++ b/bridges/stdio/stream.h @@ -0,0 +1,8 @@ +#include <stdio.h> +#include <tinyff/stream.h> + +// Default reads for common types (just FILE for now, memory later) +size_t ff_file_read(void *ptr, size_t size, void *user); + +// Stream creation helpers +ff_stream ff_create_file_stream(FILE *f);
\ No newline at end of file |
