MurmurHash3_x86_128() にどのパラメータを指定すればよいか混乱しています。murmurhash3 コードはhttps://github.com/aappleby/smhasher/blob/master/src/MurmurHash3.cppにあります。メソッドの定義を以下に示します。
void MurmurHash3_x86_128 ( const void * key, const int len,
uint32_t seed, void * out )
上記のメソッドで次の値を渡しましたが、コンパイラでセグメンテーション エラーが発生しました。私は何を間違っていますか?
int main()
{
uint64_t seed = 1;
uint64_t *hash_otpt;
const char *key = "hi";
MurmurHash3_x64_128(key, (uint64_t)strlen(key), seed, hash_otpt);
cout << "hashed" << hash_otpt << endl;
return 0;
}