diff options
Diffstat (limited to 'stdlib/source/unsafe')
-rw-r--r-- | stdlib/source/unsafe/lux/data/binary.lux | 8 | ||||
-rw-r--r-- | stdlib/source/unsafe/lux/data/collection/array.lux | 12 |
2 files changed, 10 insertions, 10 deletions
diff --git a/stdlib/source/unsafe/lux/data/binary.lux b/stdlib/source/unsafe/lux/data/binary.lux index 1e79c9480..83a6df975 100644 --- a/stdlib/source/unsafe/lux/data/binary.lux +++ b/stdlib/source/unsafe/lux/data/binary.lux @@ -80,7 +80,7 @@ (,, (.static @.python)) (.|> <size> [] - ("python apply" (.as ffi.Function ("python constant" "bytearray"))) + (.python_apply# (.as ffi.Function (.python_constant# "bytearray"))) (.as ..Binary)) (,, (.static @.scheme)) @@ -107,7 +107,7 @@ (,, (.static @.python)) (.|> <it> (.as (array.Array (.I64 .Any))) - "python array length") + .python_array_length#) (,, (.static @.scheme)) (..bytevector-length [<it>]) @@ -145,7 +145,7 @@ (,, (.static @.python)) (.|> <it> (.as (array.Array .I64)) - ("python array read" <index>)) + (.python_array_read# <index>)) (,, (.static @.scheme)) (..bytevector-u8-ref [<it> <index>]) @@ -228,7 +228,7 @@ (.|> <it> (.is ..Binary) (.as (array.Array (.I64 .Any))) - ("python array write" <index> (.|> <value> (.i64_and# <byte>) (.is (.I64 .Any)))) + (.python_array_write# <index> (.|> <value> (.i64_and# <byte>) (.is (.I64 .Any)))) (.as ..Binary)) (,, (.static @.scheme)) diff --git a/stdlib/source/unsafe/lux/data/collection/array.lux b/stdlib/source/unsafe/lux/data/collection/array.lux index c8c98508c..8c1d0ce47 100644 --- a/stdlib/source/unsafe/lux/data/collection/array.lux +++ b/stdlib/source/unsafe/lux/data/collection/array.lux @@ -46,7 +46,7 @@ (.is (..Array <item_type>))) (,, (.static @.js)) ("js array new" size) - (,, (.static @.python)) ("python array new" size) + (,, (.static @.python)) (.python_array_new# size) (,, (.static @.lua)) ("lua array new" size) (,, (.static @.ruby)) ("ruby array new" size) (,, (.static @.php)) ("php array new" size) @@ -69,7 +69,7 @@ (.as .Nat)) (,, (.static @.js)) ("js array length" array) - (,, (.static @.python)) ("python array length" array) + (,, (.static @.python)) (.python_array_length# array) (,, (.static @.lua)) ("lua array length" array) (,, (.static @.ruby)) ("ruby array length" array) (,, (.static @.php)) ("php array length" array) @@ -96,7 +96,7 @@ .jvm_object_null?#) (,, (.static @.js)) (,, (lacks?' "js array read" "js object undefined?" index array)) - (,, (.static @.python)) (,, (lacks?' "python array read" "python object none?" index array)) + (,, (.static @.python)) (,, (lacks?' .python_array_read# .python_object_none?# index array)) (,, (.static @.lua)) (,, (lacks?' "lua array read" "lua object nil?" index array)) (,, (.static @.ruby)) (,, (lacks?' "ruby array read" "ruby object nil?" index array)) (,, (.static @.php)) (,, (lacks?' "php array read" "php object null?" index array)) @@ -121,7 +121,7 @@ (.jvm_array_read_object# (,, (jvm_int index)) array) (,, (.static @.js)) ("js array read" index array) - (,, (.static @.python)) ("python array read" index array) + (,, (.static @.python)) (.python_array_read# index array) (,, (.static @.lua)) ("lua array read" index array) (,, (.static @.ruby)) ("ruby array read" index array) (,, (.static @.php)) ("php array read" index array) @@ -142,7 +142,7 @@ .as_expected) (,, (.static @.js)) ("js array write" index (.as_expected value) array) - (,, (.static @.python)) ("python array write" index (.as_expected value) array) + (,, (.static @.python)) (.python_array_write# index (.as_expected value) array) (,, (.static @.lua)) ("lua array write" index (.as_expected value) array) (,, (.static @.ruby)) ("ruby array write" index (.as_expected value) array) (,, (.static @.php)) ("php array write" index (.as_expected value) array) @@ -163,7 +163,7 @@ (..has! index (.as_expected (is <item_type> (.jvm_object_null#))) array) (,, (.static @.js)) ("js array delete" index array) - (,, (.static @.python)) ("python array delete" index array) + (,, (.static @.python)) (.python_array_delete# index array) (,, (.static @.lua)) ("lua array delete" index array) (,, (.static @.ruby)) ("ruby array delete" index array) (,, (.static @.php)) ("php array delete" index array) |