Put extern "C" around cocoa_keyboard_event

This commit is contained in:
twinaphex 2015-06-26 16:32:17 +02:00
parent 97f8188969
commit aa6cdf5d5a

View File

@ -68,9 +68,17 @@ void cocoa_input_enable_small_keyboard(bool on);
void cocoa_input_reset_icade_buttons(void);
#ifdef __cplusplus
extern "C" {
#endif
void cocoa_input_keyboard_event(bool down, unsigned code,
uint32_t character, uint32_t mod, unsigned device);
#ifdef __cplusplus
}
#endif
extern int32_t cocoa_input_find_any_key(void);
extern int32_t cocoa_input_find_any_button(uint32_t port);