aboutsummaryrefslogtreecommitdiff
path: root/include/libn.h
diff options
context:
space:
mode:
authorNicholas Noll <nbnoll@eml.cc>2020-04-22 19:51:30 -0700
committerNicholas Noll <nbnoll@eml.cc>2020-04-22 19:51:30 -0700
commit7f1b6ff70b97e424ce73314809838c7cd94f3ae7 (patch)
tree405e5d2e84b931b7d2ab764db13d295598b16828 /include/libn.h
parent18383b973877f4c30c878414a51c0b44ea5dafe4 (diff)
feat: interfaces of newick io more general. can now take arbitrary readers/writers
Diffstat (limited to 'include/libn.h')
-rw-r--r--include/libn.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/libn.h b/include/libn.h
index 67d131d..d2479e4 100644
--- a/include/libn.h
+++ b/include/libn.h
@@ -112,13 +112,13 @@ int io·seek(Stream *s, long off, enum SeekPos origin);
typedef struct io·Reader
{
int (*read)(int n, void *buf);
-};
+} io·Reader;
typedef struct io·Peeker
{
byte (*get)(void);
error (*unget)(byte);
-};
+} io·Peeker;
typedef struct io·FullReader
{