Commit 45279a6b7fc5b176e61b98c7823635c68ecc2683

Thomas de Grivel 2024-11-18T17:06:55

fix event

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/lib/kc3/0.1/event.kc3 b/lib/kc3/0.1/event.kc3
index bf8da6f..736d055 100644
--- a/lib/kc3/0.1/event.kc3
+++ b/lib/kc3/0.1/event.kc3
@@ -11,7 +11,7 @@ defmodule Event do
   # base_new() returns a (struct event_base *)
   def base_new = cfn Ptr "event_base_new" ()
 
-  def new = cfn Ptr "kc3_event_new" (Ptr, S32, List, Fn, Tag)
+  def new = cfn Ptr "kc3_event_new" (Ptr, S32, List, Callable, Tag)
 
   def version = cfn Str "kc3_event_version" (Result)