summaryrefslogtreecommitdiff
path: root/src/Gtk/Signal.dcl
diff options
context:
space:
mode:
authorCamil Staps2019-11-01 12:26:48 +0100
committerCamil Staps2019-11-01 12:26:48 +0100
commitc10b18ff0bfe37c419a70558501da48c5c3c76b5 (patch)
tree3044d260a327adf27068a82a82db7c80d8dc4e76 /src/Gtk/Signal.dcl
parentUse import code from library instead of environments to link with Gtk and Gtk... (diff)
Remove dependency on supporting C code
Diffstat (limited to 'src/Gtk/Signal.dcl')
-rw-r--r--src/Gtk/Signal.dcl6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/Gtk/Signal.dcl b/src/Gtk/Signal.dcl
index 7830886..fa9babf 100644
--- a/src/Gtk/Signal.dcl
+++ b/src/Gtk/Signal.dcl
@@ -46,7 +46,11 @@ retrieveState :: GtkM GtkState
//* Wrap functionality in `saveState` and `retrieveState` if it can be re-entrant.
withPossibleCallback :: !(GtkM a) -> GtkM a
-handleSignal :: !Int !{#Int} -> Int // only for foreign export
+// Only for foreign export:
+handleSignal_void :: !Pointer !Int -> Int
+handleSignal_pointer_bool :: !Pointer !Pointer !Int -> Int
+handleSignal_int_int_bool :: !Pointer !Int !Int !Int -> Int
+handleSignal_int_int_pointer_pointer_bool :: !Pointer !Int !Int !Pointer !Pointer !Int -> Int
addTimeout :: !GtkTimeout !(GtkM Bool) -> GtkM ()
handleTimeout :: !Int -> Int // only for foreign export