Commit 1bd8a9e7 authored by Max Kellermann's avatar Max Kellermann

DecoderAPI: add "pure" attributes

parent 0a5c991a
...@@ -57,6 +57,7 @@ decoder_initialized(Decoder &decoder, ...@@ -57,6 +57,7 @@ decoder_initialized(Decoder &decoder,
* @return the current command, or DecoderCommand::NONE if there is no * @return the current command, or DecoderCommand::NONE if there is no
* command pending * command pending
*/ */
gcc_pure
DecoderCommand DecoderCommand
decoder_get_command(Decoder &decoder); decoder_get_command(Decoder &decoder);
...@@ -76,6 +77,7 @@ decoder_command_finished(Decoder &decoder); ...@@ -76,6 +77,7 @@ decoder_command_finished(Decoder &decoder);
* @param decoder the decoder object * @param decoder the decoder object
* @return the destination position for the week * @return the destination position for the week
*/ */
gcc_pure
double double
decoder_seek_where(Decoder &decoder); decoder_seek_where(Decoder &decoder);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment