aboutsummaryrefslogtreecommitdiffstats
path: root/src/reader.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2021-07-24 21:08:10 -0400
committerDavid Robillard <d@drobilla.net>2023-12-02 18:49:07 -0500
commit6f87e81df367d93f327cebbc6e848ffd09742761 (patch)
treea7343cb271a1caeebae31a73f50bcdecb2854414 /src/reader.h
parent2d43bf2b5c301ca1e4766b5048650ca1e29e38c0 (diff)
downloadserd-6f87e81df367d93f327cebbc6e848ffd09742761.tar.gz
serd-6f87e81df367d93f327cebbc6e848ffd09742761.tar.bz2
serd-6f87e81df367d93f327cebbc6e848ffd09742761.zip
Be precise about the meaning of node "length" and "size"
Diffstat (limited to 'src/reader.h')
-rw-r--r--src/reader.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/reader.h b/src/reader.h
index fcbcb110..5441d8b6 100644
--- a/src/reader.h
+++ b/src/reader.h
@@ -57,7 +57,7 @@ r_err(SerdReader* reader, SerdStatus st, const char* fmt, ...);
SerdNode*
push_node_padded(SerdReader* reader,
- size_t maxlen,
+ size_t max_length,
SerdNodeType type,
const char* str,
size_t length);
@@ -69,7 +69,7 @@ push_node(SerdReader* reader,
size_t length);
SERD_PURE_FUNC size_t
-genid_size(const SerdReader* reader);
+genid_length(const SerdReader* reader);
SERD_PURE_FUNC bool
tolerate_status(const SerdReader* reader, SerdStatus status);