aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/unsafe
diff options
context:
space:
mode:
authorEduardo Julian2022-03-14 01:09:08 -0400
committerEduardo Julian2022-03-14 01:09:08 -0400
commitb8681fd206d5b5076b9737ee54f0cb0405a898d6 (patch)
tree6ba25cc4f31ad07b4279828568e9019f26334eca /stdlib/source/unsafe
parent6766be5427b1788a44e07151e3fabe33ec4f8b37 (diff)
Can now add type-vars to imported procedures from scripting languages.
Diffstat (limited to 'stdlib/source/unsafe')
-rw-r--r--stdlib/source/unsafe/lux/data/binary.lux5
1 files changed, 3 insertions, 2 deletions
diff --git a/stdlib/source/unsafe/lux/data/binary.lux b/stdlib/source/unsafe/lux/data/binary.lux
index cf25b655f..1e3ef2118 100644
--- a/stdlib/source/unsafe/lux/data/binary.lux
+++ b/stdlib/source/unsafe/lux/data/binary.lux
@@ -32,9 +32,9 @@
@.js
(as_is (ffi.import: ArrayBuffer
- ["[1]::[0]"])
+ "[1]::[0]")
(ffi.import: Uint8Array
- ["[1]::[0]"])
+ "[1]::[0]")
(type: .public Binary
Uint8Array))
@@ -76,6 +76,7 @@
(~~ (.static @.python))
(.|> <size>
+ []
("python apply" (.:as ffi.Function ("python constant" "bytearray")))
(.:as ..Binary))