checkpoint in first pass at new unified code view impl.; start setting up unified top-level code ctx menu

This commit is contained in:
Ryan Fleury
2024-06-25 12:00:50 -07:00
parent d12c5ec2e8
commit 010d5609c6
9 changed files with 275 additions and 81 deletions
+4 -1
View File
@@ -14,7 +14,10 @@ internal U128
hs_hash_from_data(String8 data)
{
U128 u128 = {0};
blake2b((U8 *)&u128.u64[0], sizeof(u128), data.str, data.size, 0, 0);
if(data.size != 0)
{
blake2b((U8 *)&u128.u64[0], sizeof(u128), data.str, data.size, 0, 0);
}
return u128;
}