diff options
author | Max Kellermann <max@duempel.org> | 2014-01-06 22:16:56 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-07-12 00:16:41 +0200 |
commit | 5958b78459776f1aecf284d97dbb21992c1e2d29 (patch) | |
tree | 7476df1e7f22464f469507c4726974f279e6d71f /src/DecoderBuffer.hxx | |
parent | 9d9697b36626b2a74d9b535b284b6e3dacd2b414 (diff) | |
download | mpd-5958b78459776f1aecf284d97dbb21992c1e2d29.tar.gz mpd-5958b78459776f1aecf284d97dbb21992c1e2d29.tar.xz mpd-5958b78459776f1aecf284d97dbb21992c1e2d29.zip |
DecoderBuffer: add "pure" attributes
Diffstat (limited to 'src/DecoderBuffer.hxx')
-rw-r--r-- | src/DecoderBuffer.hxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/DecoderBuffer.hxx b/src/DecoderBuffer.hxx index 70cf63faa..d09416b06 100644 --- a/src/DecoderBuffer.hxx +++ b/src/DecoderBuffer.hxx @@ -20,6 +20,8 @@ #ifndef MPD_DECODER_BUFFER_HXX #define MPD_DECODER_BUFFER_HXX +#include "Compiler.h" + #include <stddef.h> /** @@ -50,9 +52,11 @@ decoder_buffer_new(Decoder *decoder, InputStream &is, void decoder_buffer_free(DecoderBuffer *buffer); +gcc_pure bool decoder_buffer_is_empty(const DecoderBuffer *buffer); +gcc_pure bool decoder_buffer_is_full(const DecoderBuffer *buffer); |