From: Marko Luukkainen Date: Wed, 25 Sep 2019 06:48:34 +0000 (+0300) Subject: Fix register and clear functions to have correct amount of arguments X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F81%2F3281%2F1;p=simantics%2Finterop.git Fix register and clear functions to have correct amount of arguments gitlab #13 Change-Id: I315c513bc8e4ead8b9afdbd8b6e3d6f96682015c (cherry picked from commit c3e5064dde4644926a387ab9d720799d4bda4b2c) --- 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