diff options
author | David Robillard <d@drobilla.net> | 2018-12-20 13:02:24 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2023-12-02 18:49:07 -0500 |
commit | d1ba721d37af61f2b529faaa16bd20ba1e161b06 (patch) | |
tree | 2930f07857d5416eb193fe8afbcc4adecdc2e7ea /src/node.h | |
parent | 08a3b8a18093d1623309f5f406865f51e7bff39a (diff) | |
download | serd-d1ba721d37af61f2b529faaa16bd20ba1e161b06.tar.gz serd-d1ba721d37af61f2b529faaa16bd20ba1e161b06.tar.bz2 serd-d1ba721d37af61f2b529faaa16bd20ba1e161b06.zip |
Add serd_node_compare()
Diffstat (limited to 'src/node.h')
-rw-r--r-- | src/node.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -33,6 +33,12 @@ serd_node_buffer_c(const SerdNode* SERD_NONNULL node) return (const char*)(node + 1); } +static inline const char* SERD_NONNULL +serd_node_string_i(const SerdNode* const SERD_NONNULL node) +{ + return (const char*)(node + 1); +} + SerdNode* SERD_ALLOCATED serd_node_malloc(size_t length, SerdNodeFlags flags, SerdNodeType type); |