diff --git a/contrib/alien.factor b/contrib/alien.factor index ef09c4cf00..f6fed758ec 100644 --- a/contrib/alien.factor +++ b/contrib/alien.factor @@ -1,4 +1,4 @@ - +USING: kernel alien sequences ; IN: alien-contrib : copy-seq-to-float-array ( seq byte-array -- ) @@ -8,3 +8,5 @@ swap dup length [ pick set-float-nth ] 2each ; dup length "float" copy-seq-to-float-array ; : float-array>array ( byte-array n -- array ) [ swap float-nth ] map-with ; + +PROVIDE: contrib/alien ; \ No newline at end of file