Pārlūkot izejas kodu

package lines for core:hash

Jeroen van Rijn 4 dienas atpakaļ
vecāks
revīzija
51cd08296f
1 mainītis faili ar 5 papildinājumiem un 3 dzēšanām
  1. 5 3
      core/hash/xxhash/common.odin

+ 5 - 3
core/hash/xxhash/common.odin

@@ -1,3 +1,8 @@
+// package xxhash implements Yann Collet's xxhash.
+//
+// [[ xxhash Fast Hash Algorithm; https://cyan4973.github.io/xxHash/ ]]
+package xxhash
+
 /*
 	Copyright 2021 Jeroen van Rijn <[email protected]>.
 
@@ -7,9 +12,6 @@
 		Jeroen van Rijn: Initial implementation.
 */
 
-// An implementation of Yann Collet's [[ xxhash Fast Hash Algorithm; https://cyan4973.github.io/xxHash/ ]].
-package xxhash
-
 import "base:intrinsics"
 import "base:runtime"