diff options
author | David Robillard <d@drobilla.net> | 2021-05-29 15:20:23 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2023-12-02 18:49:07 -0500 |
commit | 55cb2411c1ddfe268c5d48f486f4da02470ab3d1 (patch) | |
tree | edf6bc3e7db57a88c2b0acc4c3f3e87c1b47530d /src/stack.h | |
parent | 930f28478ca2573b7f7baf29a57a03cfa95a841f (diff) | |
download | serd-55cb2411c1ddfe268c5d48f486f4da02470ab3d1.tar.gz serd-55cb2411c1ddfe268c5d48f486f4da02470ab3d1.tar.bz2 serd-55cb2411c1ddfe268c5d48f486f4da02470ab3d1.zip |
Use a simple type-safe stack in writer
Diffstat (limited to 'src/stack.h')
-rw-r--r-- | src/stack.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/stack.h b/src/stack.h index 6ad3385d..cdf2b0f6 100644 --- a/src/stack.h +++ b/src/stack.h @@ -33,12 +33,6 @@ serd_stack_new(size_t size) return stack; } -static inline bool -serd_stack_is_empty(const SerdStack* stack) -{ - return stack->size <= SERD_STACK_BOTTOM; -} - static inline void serd_stack_free(SerdStack* stack) { |