aboutsummaryrefslogtreecommitdiffstats
path: root/src/DecoderAPI.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-10-24 19:43:39 +0200
committerMax Kellermann <max@duempel.org>2013-10-24 20:01:05 +0200
commit1bd8a9e744b63d27cd8bb89c45bc7fa803d69cb1 (patch)
treede0b3f1966da3e934aeabf7850a7f294728799fd /src/DecoderAPI.hxx
parent0a5c991ab57217dbb74e11ca29cc531a7fb3c3ae (diff)
downloadmpd-1bd8a9e744b63d27cd8bb89c45bc7fa803d69cb1.tar.gz
mpd-1bd8a9e744b63d27cd8bb89c45bc7fa803d69cb1.tar.xz
mpd-1bd8a9e744b63d27cd8bb89c45bc7fa803d69cb1.zip
DecoderAPI: add "pure" attributes
Diffstat (limited to 'src/DecoderAPI.hxx')
-rw-r--r--src/DecoderAPI.hxx2
1 files changed, 2 insertions, 0 deletions
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);