From 4b249ae865fd524e1b1aba895887bff3c1963337 Mon Sep 17 00:00:00 2001 From: Marko Luukkainen Date: Wed, 25 Sep 2019 09:48:34 +0300 Subject: [PATCH] Fix register and clear functions to have correct amount of arguments gitlab #13 Change-Id: I315c513bc8e4ead8b9afdbd8b6e3d6f96682015c (cherry picked from commit c3e5064dde4644926a387ab9d720799d4bda4b2c) --- .../scl/Interop/FunctionRegistry.scl | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/org.simantics.interop.scl/scl/Interop/FunctionRegistry.scl b/org.simantics.interop.scl/scl/Interop/FunctionRegistry.scl index bdba0e3..40d8dd1 100644 --- a/org.simantics.interop.scl/scl/Interop/FunctionRegistry.scl +++ b/org.simantics.interop.scl/scl/Interop/FunctionRegistry.scl @@ -1,14 +1,14 @@ importJava "org.simantics.interop.scl.FunctionRegistry" where - register :: a -> String -> (f -> ()) -> () + register :: a -> String -> (()) -> () @JavaName register - register1 :: a -> String -> (f -> b -> ()) -> () + register1 :: a -> String -> (b -> ()) -> () @JavaName register - register2 :: a -> String -> (f -> b -> c -> ()) -> () + register2 :: a -> String -> (b -> c -> ()) -> () @JavaName register - register3 :: a -> String -> (f -> b -> c -> d -> ()) -> () + register3 :: a -> String -> (b -> c -> d -> ()) -> () @JavaName register - register4 :: a -> String -> (f -> b -> c -> d -> e -> ()) -> () + register4 :: a -> String -> (b -> c -> d -> e -> ()) -> () call0 :: a -> String -> () call1 :: a -> String -> b -> () call2 :: a -> String -> b -> c -> () @@ -22,12 +22,12 @@ importJava "org.simantics.interop.scl.FunctionRegistry" where clearName :: a -> String -> () @JavaName clear - clearFunction :: a -> String -> (f -> ()) -> () + clearFunction :: a -> String -> (()) -> () @JavaName clear - clearFunction1 :: a -> String -> (f -> b -> ()) -> () + clearFunction1 :: a -> String -> (b -> ()) -> () @JavaName clear - clearFunction2 :: a -> String -> (f -> b -> c -> ()) -> () + clearFunction2 :: a -> String -> (b -> c -> ()) -> () @JavaName clear - clearFunction3 :: a -> String -> (f -> b -> c -> d -> ()) -> () + clearFunction3 :: a -> String -> (b -> c -> d -> ()) -> () @JavaName clear - clearFunction4 :: a -> String -> (f -> b -> c -> d -> e -> ()) -> () \ No newline at end of file + clearFunction4 :: a -> String -> (b -> c -> d -> e -> ()) -> () \ No newline at end of file -- 2.47.1