diff options
author | Vitaly Novichkov <admin@wohlnet.ru> | 2018-10-01 04:02:58 +0300 |
---|---|---|
committer | Vitaly Novichkov <admin@wohlnet.ru> | 2018-10-01 04:02:58 +0300 |
commit | 8f7600106c13535be4f90970378b73bda4f42165 (patch) | |
tree | 0e70115d0e506d64b1e5d6abab054019c7e78bbb /include/adlmidi.h | |
parent | 299f4614cf77862c3f20b6b95c56c91102d1e27a (diff) | |
parent | 314cde9fccb603bbd2b36b58dc9b3020c160ac4b (diff) | |
download | libADLMIDI-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.h | 4 |
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 |