summaryrefslogtreecommitdiff
path: root/bridges/stdio/stream.h
blob: 1ae2dbc1bf0c243503f8b830db6b580defc01756 (plain)
1
2
3
4
5
6
7
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);