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
| #pragma once
|
| #include <stdint.h>
| #include "os/Mutex.h"
| struct Il2CppClass;
|
| namespace il2cpp
| {
| namespace metadata
| {
| class ArrayMetadata
| {
| public:
| static Il2CppClass* GetBoundedArrayClass(Il2CppClass* elementClass, uint32_t rank, bool bounded);
|
| typedef void(*ArrayTypeWalkCallback)(Il2CppClass* type, void* context);
| static void WalkSZArrays(ArrayTypeWalkCallback callback, void* context);
| static void WalkArrays(ArrayTypeWalkCallback callback, void* context);
|
| // called as part of Class::Init with lock held
| static void SetupArrayInterfaces(Il2CppClass* klass, const il2cpp::os::FastAutoLock& lock);
| static void SetupArrayVTable(Il2CppClass* klass, const il2cpp::os::FastAutoLock& lock);
| };
| } /* namespace vm */
| } /* namespace il2cpp */
|
|