aboutsummaryrefslogtreecommitdiff
path: root/zencore/include
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2021-05-24 17:52:08 +0200
committerStefan Boberg <[email protected]>2021-05-24 17:52:08 +0200
commit8d3bf97c291305d7083da46017f3eb6099a65305 (patch)
tree21179a1fc80cc6b3f523d1be652f89b872aeee5d /zencore/include
parentFixed attachment index code so it doesn't generate zero-sized compactbinary a... (diff)
downloadzen-8d3bf97c291305d7083da46017f3eb6099a65305.tar.xz
zen-8d3bf97c291305d7083da46017f3eb6099a65305.zip
Added non-'deprecated' MemCrc32 function for use with CompressedBuffer header checksumming
Diffstat (limited to 'zencore/include')
-rw-r--r--zencore/include/zencore/crc32.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/zencore/include/zencore/crc32.h b/zencore/include/zencore/crc32.h
index 20d711b06..336bda77e 100644
--- a/zencore/include/zencore/crc32.h
+++ b/zencore/include/zencore/crc32.h
@@ -1,3 +1,5 @@
+// Copyright Epic Games, Inc. All Rights Reserved.
+
#pragma once
#include <zencore/zencore.h>
@@ -5,6 +7,7 @@
namespace zen {
uint32_t MemCrc32(const void* InData, size_t Length, uint32_t Crc = 0);
-uint32_t StrCrc(const char* Data);
+uint32_t MemCrc32_Deprecated(const void* InData, size_t Length, uint32_t Crc = 0);
+uint32_t StrCrc_Deprecated(const char* Data);
} // namespace zen