X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=org.simantics.interop.scl%2Fscl%2FInterop%2FFunctionRegistry.scl;fp=org.simantics.interop.scl%2Fscl%2FInterop%2FFunctionRegistry.scl;h=9d707cfdb5fe768b8510587d62d031f53d50a9c9;hb=14d4d6b020af5777afe37ec990c8fb8661f0bd14;hp=0000000000000000000000000000000000000000;hpb=c276677539e2b4111a072a2e6f6c4e8aa3e65b30;p=simantics%2Finterop.git diff --git a/org.simantics.interop.scl/scl/Interop/FunctionRegistry.scl b/org.simantics.interop.scl/scl/Interop/FunctionRegistry.scl new file mode 100644 index 0000000..9d707cf --- /dev/null +++ b/org.simantics.interop.scl/scl/Interop/FunctionRegistry.scl @@ -0,0 +1,22 @@ +importJava "org.simantics.interop.scl.FunctionRegistry" where + + register :: a -> String -> (f -> ()) -> () + @JavaName register + register1 :: a -> String -> (f -> b -> ()) -> () + @JavaName register + register2 :: a -> String -> (f -> b -> c -> ()) -> () + @JavaName register + register3 :: a -> String -> (f -> b -> c -> d -> ()) -> () + @JavaName register + register4 :: a -> String -> (f -> b -> c -> d -> e -> ()) -> () + call0 :: a -> String -> () + call1 :: a -> String -> b -> () + call2 :: a -> String -> b -> c -> () + call3 :: a -> String -> b -> c -> d -> () + call4 :: a -> String -> b -> c -> d -> e -> () + + @JavaName clear + clear :: a -> () + + @JavaName clear + clearName :: a -> String -> () \ No newline at end of file