Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Compression
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Compression/lz4.h |
| Include | #include "Compression/lz4.h" |
| Source | /Engine/Source/Runtime/Core/Private/Compression/lz4.cpp |
LZ4LZ4_stream_t * LZ4_createStream()
Remarks
Note about RC_INVOKED
- RC_INVOKED is predefined symbol of rc.exe (the resource compiler which is part of MSVC/Visual Studio). https://docs.microsoft.com/en-us/windows/win32/menurc/predefined-macros
- Since rc.exe is a legacy compiler, it truncates long symbol (> 30 chars) and reports warning "RC4011: identifier truncated".
- To eliminate the warning, we surround long preprocessor symbol with "#if !defined(RC_INVOKED) ... #endif" block that means "skip this block when rc.exe is trying to read it".