forked from OpenXRay/xray-16
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
xrCore/rt_compressor: fixed stack corruption properly
Also removed include guard Thanks @Im-dex.
- Loading branch information
1 parent
a1d4c52
commit 2ac00fb
Showing
2 changed files
with
6 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,12 @@ | ||
#ifndef rt_compressorH | ||
#define rt_compressorH | ||
#pragma once | ||
|
||
extern XRCORE_API void rtc_initialize(); | ||
extern XRCORE_API u32 rtc_compress(void* dst, u32 dst_len, const void* src, u32 src_len); | ||
extern XRCORE_API u32 rtc_decompress(void* dst, u32 dst_len, const void* src, u32 src_len); | ||
extern XRCORE_API size_t rtc_compress(void* dst, size_t dst_len, const void* src, size_t src_len); | ||
extern XRCORE_API size_t rtc_decompress(void* dst, size_t dst_len, const void* src, size_t src_len); | ||
extern XRCORE_API u32 rtc_csize(u32 in); | ||
|
||
extern XRCORE_API void rtc9_initialize(); | ||
extern XRCORE_API void rtc9_uninitialize(); | ||
extern XRCORE_API u32 rtc9_compress(void* dst, u32 dst_len, const void* src, u32 src_len); | ||
extern XRCORE_API u32 rtc9_decompress(void* dst, u32 dst_len, const void* src, u32 src_len); | ||
extern XRCORE_API u32 rtc9_csize(u32 in); | ||
|
||
#endif |