DecoderAPI: add "pure" attributes

This commit is contained in:
Max Kellermann 2013-10-24 19:43:39 +02:00
parent 0a5c991ab5
commit 1bd8a9e744

View File

@ -57,6 +57,7 @@ decoder_initialized(Decoder &decoder,
* @return the current command, or DecoderCommand::NONE if there is no
* command pending
*/
gcc_pure
DecoderCommand
decoder_get_command(Decoder &decoder);
@ -76,6 +77,7 @@ decoder_command_finished(Decoder &decoder);
* @param decoder the decoder object
* @return the destination position for the week
*/
gcc_pure
double
decoder_seek_where(Decoder &decoder);