diff options
Diffstat (limited to 'stdlib/source/unsafe')
-rw-r--r-- | stdlib/source/unsafe/lux/data/binary.lux | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/stdlib/source/unsafe/lux/data/binary.lux b/stdlib/source/unsafe/lux/data/binary.lux index e14eb54b0..6f51fde27 100644 --- a/stdlib/source/unsafe/lux/data/binary.lux +++ b/stdlib/source/unsafe/lux/data/binary.lux @@ -17,14 +17,14 @@ (with_expansions [<jvm> (these (type: .public Binary (ffi.type [byte])) - (ffi.import: java/lang/Object + (ffi.import java/lang/Object "[1]::[0]") - (ffi.import: java/lang/System + (ffi.import java/lang/System "[1]::[0]" ("static" arraycopy [java/lang/Object int java/lang/Object int int] void)) - (ffi.import: java/util/Arrays + (ffi.import java/util/Arrays "[1]::[0]" ("static" copyOfRange [[byte] int int] [byte]) ("static" equals [[byte] [byte]] boolean)))] @@ -32,9 +32,9 @@ @.jvm (these <jvm>) @.js - (these (ffi.import: ArrayBuffer + (these (ffi.import ArrayBuffer "[1]::[0]") - (ffi.import: Uint8Array + (ffi.import Uint8Array "[1]::[0]") (type: .public Binary @@ -48,10 +48,10 @@ (these (type: .public Binary (Primitive "bytevector")) - (ffi.import: (make-bytevector [Nat] Binary)) - (ffi.import: (bytevector-u8-ref [Binary Nat] I64)) - (ffi.import: (bytevector-u8-set! [Binary Nat (I64 Any)] Any)) - (ffi.import: (bytevector-length [Binary] Nat))) + (ffi.import (make-bytevector [Nat] Binary)) + (ffi.import (bytevector-u8-ref [Binary Nat] I64)) + (ffi.import (bytevector-u8-set! [Binary Nat (I64 Any)] Any)) + (ffi.import (bytevector-length [Binary] Nat))) ... Default (type: .public Binary |