diff options
author | David Robillard <d@drobilla.net> | 2021-08-08 20:45:55 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2022-01-28 21:57:07 -0500 |
commit | ccf868537987ced29aea0d5c6fb6d45c94ee025a (patch) | |
tree | d41146071899d7caab08953a0d17b3752599e902 /tools/console.h | |
parent | 9547c806dbf76d6afd1e324fc924abdf944c4bda (diff) | |
download | serd-ccf868537987ced29aea0d5c6fb6d45c94ee025a.tar.gz serd-ccf868537987ced29aea0d5c6fb6d45c94ee025a.tar.bz2 serd-ccf868537987ced29aea0d5c6fb6d45c94ee025a.zip |
Factor out serd_choose_input_syntax()
Diffstat (limited to 'tools/console.h')
-rw-r--r-- | tools/console.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/console.h b/tools/console.h index 5d174f1e..16f6fd14 100644 --- a/tools/console.h +++ b/tools/console.h @@ -34,6 +34,11 @@ serd_set_output_option(SerdStringView name, SerdSyntax* syntax, SerdWriterFlags* flags); +SerdSyntax +serd_choose_input_syntax(SerdWorld* world, + SerdSyntax requested, + const char* filename); + SerdByteSource* serd_open_input(const char* filename, size_t block_size); |