From 1bd8a9e744b63d27cd8bb89c45bc7fa803d69cb1 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 24 Oct 2013 19:43:39 +0200 Subject: DecoderAPI: add "pure" attributes --- src/DecoderAPI.hxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/DecoderAPI.hxx') diff --git a/src/DecoderAPI.hxx b/src/DecoderAPI.hxx index 3abb077ca..b2cc7756b 100644 --- a/src/DecoderAPI.hxx +++ b/src/DecoderAPI.hxx @@ -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); -- cgit v1.2.3