Browse Source

Add missing pure attributes

zrythm_meson
David Robillard 2 years ago
parent
commit
7ceba78680
  1. 2
      src/byte_source.h
  2. 2
      src/writer.c

2
src/byte_source.h

@ -70,7 +70,7 @@ serd_byte_source_prepare(SerdByteSource* source); @@ -70,7 +70,7 @@ serd_byte_source_prepare(SerdByteSource* source);
SerdStatus
serd_byte_source_page(SerdByteSource* source);
static inline uint8_t
static inline SERD_PURE_FUNC uint8_t
serd_byte_source_peek(SerdByteSource* source)
{
assert(source->prepared);

2
src/writer.c

@ -150,7 +150,7 @@ w_err(SerdWriter* writer, SerdStatus st, const char* fmt, ...) @@ -150,7 +150,7 @@ w_err(SerdWriter* writer, SerdStatus st, const char* fmt, ...)
va_end(args);
}
static inline WriteContext*
static inline SERD_PURE_FUNC WriteContext*
anon_stack_top(SerdWriter* writer)
{
assert(!serd_stack_is_empty(&writer->anon_stack));

Loading…
Cancel
Save