aboutsummaryrefslogtreecommitdiff
path: root/include/adlmidi.h
diff options
context:
space:
mode:
authorVitaly Novichkov <admin@wohlnet.ru>2018-10-01 04:02:58 +0300
committerVitaly Novichkov <admin@wohlnet.ru>2018-10-01 04:02:58 +0300
commit8f7600106c13535be4f90970378b73bda4f42165 (patch)
tree0e70115d0e506d64b1e5d6abab054019c7e78bbb /include/adlmidi.h
parent299f4614cf77862c3f20b6b95c56c91102d1e27a (diff)
parent314cde9fccb603bbd2b36b58dc9b3020c160ac4b (diff)
downloadlibADLMIDI-8f7600106c13535be4f90970378b73bda4f42165.tar.gz
libADLMIDI-8f7600106c13535be4f90970378b73bda4f42165.tar.bz2
libADLMIDI-8f7600106c13535be4f90970378b73bda4f42165.zip
Merge branch 'master' into stable
Diffstat (limited to 'include/adlmidi.h')
-rw-r--r--include/adlmidi.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/adlmidi.h b/include/adlmidi.h
index 2732959..3524587 100644
--- a/include/adlmidi.h
+++ b/include/adlmidi.h
@@ -66,7 +66,7 @@ typedef short ADL_SInt16;
#ifdef __clang__
# if __has_extension(attribute_deprecated_with_message)
-# define JSONCPP_DEPRECATED(message) __attribute__((deprecated(message)))
+# define ADLMIDI_DEPRECATED(message) __attribute__((deprecated(message)))
# endif
#elif defined __GNUC__ /* not clang (gcc comes later since clang emulates gcc) */
# if (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 5))
@@ -743,7 +743,7 @@ extern ADLMIDI_DECLSPEC int adl_setTrackOptions(struct ADL_MIDIPlayer *device, s
* @param trigger Value of the event which triggered this callback.
* @param track Identifier of the track which triggered this callback.
*/
-typedef ADLMIDI_DECLSPEC void (*ADL_TriggerHandler)(void *userData, unsigned trigger, size_t track);
+typedef void (*ADL_TriggerHandler)(void *userData, unsigned trigger, size_t track);
/**
* @brief Defines a handler for callback trigger events