From: Marko Luukkainen Date: Wed, 22 Nov 2017 16:22:09 +0000 (+0200) Subject: Add Maybe for SCL functions that can return null. X-Git-Tag: v1.31.0^0 X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;h=8b773b548160d909d24acdb9277e08014f2d18e8;hp=f9bb7ea108d34c01966967c6a52ba57ef609dc82;p=simantics%2Finterop.git Add Maybe for SCL functions that can return null. --- 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