[retro-gtk] core: Fix a function declaration



commit e67e86529427def9796f96d4c5be3e595f4aacc9
Author: Adrien Plazas <kekun plazas laposte net>
Date:   Sun Aug 1 19:45:21 2021 +0200

    core: Fix a function declaration
    
    This ensures the ABI will be correct for this function.

 retro-runner/retro-core-private.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/retro-runner/retro-core-private.h b/retro-runner/retro-core-private.h
index aa0f03d..5719e4e 100644
--- a/retro-runner/retro-core-private.h
+++ b/retro-runner/retro-core-private.h
@@ -21,7 +21,7 @@
 G_BEGIN_DECLS
 
 typedef struct {
-  void (*callback) (guchar down, guint keycode, guint32 character, guint16 key_modifiers);
+  void (*callback) (bool down, guint keycode, guint32 character, guint16 key_modifiers);
 } RetroKeyboardCallback;
 
 struct _RetroCore


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]