mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
v.markused: remove hash.init()
function (map fn usages are detected more precisely)
This commit is contained in:
@@ -6,12 +6,6 @@ fn C.wyhash(&byte, u64, u64, &u64) u64
|
||||
|
||||
fn C.wyhash64(u64, u64) u64
|
||||
|
||||
fn init() {
|
||||
_ := {
|
||||
1: 1
|
||||
}
|
||||
}
|
||||
|
||||
[inline]
|
||||
pub fn wyhash_c(key &byte, len u64, seed u64) u64 {
|
||||
return C.wyhash(key, len, seed, &u64(C._wyp))
|
||||
|
Reference in New Issue
Block a user