From 8b773b548160d909d24acdb9277e08014f2d18e8 Mon Sep 17 00:00:00 2001 From: Marko Luukkainen Date: Wed, 22 Nov 2017 18:22:09 +0200 Subject: [PATCH] Add Maybe for SCL functions that can return null. --- org.simantics.interop.update/scl/Interop/Update.scl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/org.simantics.interop.update/scl/Interop/Update.scl b/org.simantics.interop.update/scl/Interop/Update.scl index e850b05..40d61b5 100644 --- a/org.simantics.interop.update/scl/Interop/Update.scl +++ b/org.simantics.interop.update/scl/Interop/Update.scl @@ -21,13 +21,13 @@ importJava "org.simantics.interop.update.model.ModelUpdate" where applySelectedUpdates :: ModelUpdate -> () @JavaName getUpdateTree2 - getUpdateTree2 :: ModelUpdate -> UpdateTree + getUpdateTree2 :: ModelUpdate -> Maybe UpdateTree @JavaName getUpdateList2 - getUpdateList2 :: ModelUpdate -> UpdateList + getUpdateList2 :: ModelUpdate -> Maybe UpdateList @JavaName getChanges2 - getGraphChanges2 :: ModelUpdate -> GraphChanges + getGraphChanges2 :: ModelUpdate -> Maybe GraphChanges @JavaName getUpdateTree3 getUpdateTree3 :: ModelUpdate -> Maybe UpdateTree -- 2.47.1