1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
| #pragma once
|
| #include "il2cpp-object-internals.h"
|
| namespace il2cpp
| {
| namespace icalls
| {
| namespace System
| {
| namespace Core
| {
| namespace System
| {
| namespace IO
| {
| namespace MemoryMappedFiles
| {
| class LIBIL2CPP_CODEGEN_API MemoryMapImpl
| {
| public:
| static bool Unmap(intptr_t mmap_handle);
| static int32_t MapInternal(intptr_t handle, int64_t offset, int64_t* size, int32_t access, intptr_t* mmap_handle, intptr_t* base_address);
| static intptr_t OpenFileInternal(Il2CppString* path, int32_t mode, Il2CppString* mapName, int64_t* capacity, int32_t access, int32_t options, int32_t* error);
| static intptr_t OpenHandleInternal(intptr_t handle, Il2CppString* mapName, int64_t* capacity, int32_t access, int32_t options, int32_t* error);
| static void CloseMapping(intptr_t handle);
| static void ConfigureHandleInheritability(intptr_t handle, int32_t inheritability);
| static void Flush(intptr_t mmap_handle);
| };
| } // namespace MemoryMappedFiles
| } // namespace IO
| } // namespace System
| } // namespace Core
| } // namespace System
| } // namespace icalls
| } // namespace il2cpp
|
|