]> gerrit.simantics Code Review - simantics/interop.git/blobdiff - org.simantics.interop.update/scl/Interop/Update.scl
Add Maybe for SCL functions that can return null.
[simantics/interop.git] / org.simantics.interop.update / scl / Interop / Update.scl
index e850b0521daeff179ed8af9348339fab45f0799c..40d61b53fd0061f92a0328c4ad7ba8db406650f5 100644 (file)
@@ -21,13 +21,13 @@ importJava "org.simantics.interop.update.model.ModelUpdate" where
   applySelectedUpdates :: ModelUpdate -> <WriteGraph> ()
   
   @JavaName getUpdateTree2
-  getUpdateTree2 :: ModelUpdate -> <Proc> UpdateTree
+  getUpdateTree2 :: ModelUpdate -> <Proc> Maybe UpdateTree
   
   @JavaName getUpdateList2
-  getUpdateList2 :: ModelUpdate -> <Proc> UpdateList
+  getUpdateList2 :: ModelUpdate -> <Proc> Maybe UpdateList
   
   @JavaName getChanges2
-  getGraphChanges2 :: ModelUpdate -> <Proc> GraphChanges
+  getGraphChanges2 :: ModelUpdate -> <Proc> Maybe GraphChanges
   
   @JavaName getUpdateTree3
   getUpdateTree3 :: ModelUpdate -> <Proc> Maybe UpdateTree