1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
| #include "il2cpp-config.h"
|
|
| #if !IL2CPP_TARGET_WINDOWS
|
| #include "os/LibraryLoader.h"
| #include "utils/StringUtils.h"
|
| namespace il2cpp
| {
| namespace os
| {
| bool LibraryLoader::EntryNameMatches(const il2cpp::utils::StringView<char>& hardcodedEntryPoint, const il2cpp::utils::StringView<char>& entryPoint)
| {
| return hardcodedEntryPoint.Length() == entryPoint.Length() && strncmp(hardcodedEntryPoint.Str(), entryPoint.Str(), entryPoint.Length()) == 0;
| }
| }
| }
|
| #endif
|
|