X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.scl.runtime%2Fscl%2FStream.scl;h=150d55e6c9462ce3ca129f3c969e250b632ec0f2;hb=33b30297f751e06e9abac260d31313e2f833fedc;hp=cd0d4588af02a7f483e0dfac6973168b378a61a5;hpb=969bd23cab98a79ca9101af33334000879fb60c5;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.scl.runtime/scl/Stream.scl b/bundles/org.simantics.scl.runtime/scl/Stream.scl index cd0d4588a..150d55e6c 100644 --- a/bundles/org.simantics.scl.runtime/scl/Stream.scl +++ b/bundles/org.simantics.scl.runtime/scl/Stream.scl @@ -12,6 +12,7 @@ importJava "java.io.InputStream" where @private @JavaName close closeInputStream :: InputStream -> () + skip :: InputStream -> Long -> Long instance Closeable InputStream where close = closeInputStream