]> gerrit.simantics Code Review - simantics/3d.git/blobdiff - org.simantics.g3d/scl/g3d/SCLUtil.scl
Safe SCL cast for Java objects
[simantics/3d.git] / org.simantics.g3d / scl / g3d / SCLUtil.scl
diff --git a/org.simantics.g3d/scl/g3d/SCLUtil.scl b/org.simantics.g3d/scl/g3d/SCLUtil.scl
new file mode 100644 (file)
index 0000000..3a30a95
--- /dev/null
@@ -0,0 +1,7 @@
+
+importJava "org.simantics.g3d.scl.SCLUtil" where
+  
+  javaSafeCoerce :: Typeable b => a -> Maybe b
+  javaIsInstanceOf :: Typeable b => a -> Boolean
+  
+