Commit | Line | Data |
3e09a0ee |
1 | // SMem.h - Header for memory functions |
2 | // License information for this code is in license.txt |
3 | |
4 | #ifndef S_MEM_INCLUDED |
5 | #define S_MEM_INCLUDED |
6 | |
7 | #if (defined(_WIN32) || defined(WIN32)) && !defined(NO_WINDOWS_H) |
8 | #include <windows.h> |
9 | #else |
10 | #include "wintypes.h" |
11 | #endif |
12 | |
13 | #ifdef __cplusplus |
14 | extern "C" { |
15 | #endif |
16 | |
17 | LPVOID WINAPI SMemAlloc(DWORD dwSize); |
18 | void WINAPI SMemFree(LPVOID lpvMemory); |
19 | DWORD WINAPI SMemCopy(LPVOID lpDestination, LPCVOID lpSource, DWORD dwLength); |
20 | void WINAPI SMemZero(LPVOID lpDestination, DWORD dwLength); |
21 | |
22 | #ifdef __cplusplus |
23 | }; // extern "C" |
24 | #endif |
25 | |
26 | #endif |
27 | |