]> gitweb.factorcode.org Git - factor.git/commitdiff
checksums: Put back the SPECIALIZED-ARRAYS:.
authorDoug Coleman <doug.coleman@gmail.com>
Thu, 20 Jan 2022 07:08:51 +0000 (01:08 -0600)
committerDoug Coleman <doug.coleman@gmail.com>
Thu, 20 Jan 2022 07:08:51 +0000 (01:08 -0600)
I'd like to find a way to reference them so the tools can pick
up they're required.

basis/checksums/metrohash/metrohash.factor
basis/checksums/wyhash/wyhash.factor
basis/checksums/xxhash/xxhash.factor

index 120092ca91fe9f59ce5bb30c67d8f1ed5291f104..fae726b2cd3017f193d33fd4ab1a893e891d419a 100644 (file)
@@ -1,8 +1,11 @@
 ! Copyright (C) 2018 John Benediktsson.
 ! See http://factorcode.org/license.txt for BSD license.
 USING: accessors alien.c-types alien.data byte-arrays checksums
-combinators endian grouping kernel math math.bitwise sequences ;
-
+combinators endian grouping kernel math math.bitwise sequences
+specialized-arrays ;
+SPECIALIZED-ARRAY: uint64_t
+SPECIALIZED-ARRAY: uint32_t
+SPECIALIZED-ARRAY: uint16_t
 IN: checksums.metrohash
 
 TUPLE: metrohash-64 seed ;
index bff1f8a7a5dd9f8cd005c6be721a397f0d7edc16..3440f37ef685befad9534f467c20aa75ff58b328 100644 (file)
@@ -3,7 +3,9 @@
 
 USING: accessors alien.c-types alien.data byte-arrays checksums
 endian grouping kernel math math.bitwise
-sequences sequences.generalizations sequences.private ;
+sequences sequences.generalizations sequences.private
+specialized-arrays ;
+SPECIALIZED-ARRAY: uint64_t
 IN: checksums.wyhash
 
 <PRIVATE
index 23f32738fe0b545534d4f0b9025593dae607eae0..a567fc477dd474b09d9bb6aca71ca3cbe85b2f26 100644 (file)
@@ -3,7 +3,8 @@
 
 USING: accessors alien.c-types alien.data byte-arrays
 checksums combinators endian generalizations grouping kernel
-math math.bitwise sequences ;
+math math.bitwise sequences specialized-arrays ;
+SPECIALIZED-ARRAY: uint64_t
 
 IN: checksums.xxhash