From c10b18ff0bfe37c419a70558501da48c5c3c76b5 Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Fri, 1 Nov 2019 12:26:48 +0100 Subject: Remove dependency on supporting C code --- src/Gtk/Signal.dcl | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/Gtk/Signal.dcl') 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 -- cgit v1.2.3