DecoderBuffer: remove unused method _is_empty()
This commit is contained in:
parent
c400876df1
commit
4c7b0b935b
|
@ -75,12 +75,6 @@ decoder_buffer_get_stream(const DecoderBuffer *buffer)
|
||||||
return *buffer->is;
|
return *buffer->is;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool
|
|
||||||
decoder_buffer_is_empty(const DecoderBuffer *buffer)
|
|
||||||
{
|
|
||||||
return buffer->consumed == buffer->length;
|
|
||||||
}
|
|
||||||
|
|
||||||
bool
|
bool
|
||||||
decoder_buffer_is_full(const DecoderBuffer *buffer)
|
decoder_buffer_is_full(const DecoderBuffer *buffer)
|
||||||
{
|
{
|
||||||
|
|
|
@ -58,10 +58,6 @@ gcc_pure
|
||||||
const InputStream &
|
const InputStream &
|
||||||
decoder_buffer_get_stream(const DecoderBuffer *buffer);
|
decoder_buffer_get_stream(const DecoderBuffer *buffer);
|
||||||
|
|
||||||
gcc_pure
|
|
||||||
bool
|
|
||||||
decoder_buffer_is_empty(const DecoderBuffer *buffer);
|
|
||||||
|
|
||||||
gcc_pure
|
gcc_pure
|
||||||
bool
|
bool
|
||||||
decoder_buffer_is_full(const DecoderBuffer *buffer);
|
decoder_buffer_is_full(const DecoderBuffer *buffer);
|
||||||
|
|
Loading…
Reference in New Issue