C++: Rename il2cpp-api-functions-ptr.h and il2cpp-types-ptr.h

This commit is contained in:
Katy Coe
2020-08-01 16:56:11 +02:00
parent 4ae6772f5a
commit 8372afd619
3 changed files with 16 additions and 15 deletions

View File

@@ -190,6 +190,7 @@ void NewConsole() {
#include <string>
#include <sstream>
#include <iomanip>
// Helper function to get the module base address
uintptr_t GetBaseAddress();
@@ -290,9 +291,9 @@ void Run()
</ItemGroup>
<ItemGroup>
<ClInclude Include="appdata\il2cpp-api-functions.h" />
<ClInclude Include="appdata\il2cpp-function-ptr.h" />
<ClInclude Include="appdata\il2cpp-api-functions-ptr.h" />
<ClInclude Include="appdata\il2cpp-functions.h" />
<ClInclude Include="appdata\il2cpp-type-ptr.h" />
<ClInclude Include="appdata\il2cpp-types-ptr.h" />
<ClInclude Include="appdata\il2cpp-types.h" />
<ClInclude Include="framework\helpers.h" />
<ClInclude Include="framework\il2cpp-appdata.h" />
@@ -1143,7 +1144,7 @@ EndGlobal
#include "il2cpp-types.h"
// IL2CPP API function pointers
#include "il2cpp-function-ptr.h"
#include "il2cpp-api-functions-ptr.h"
// IL2CPP APIs
#define DO_API(r, n, p) extern r (*n) p
@@ -1160,7 +1161,7 @@ namespace app {
// TypeInfo pointers
#define DO_TYPEDEF(a, n) extern n ## __Class* n ## __TypeInfo
namespace app {
#include "il2cpp-type-ptr.h"
#include "il2cpp-types-ptr.h"
}
#undef DO_TYPEDEF</value>
</data>
@@ -1189,7 +1190,7 @@ namespace app {
// TypeInfo pointers
#define DO_TYPEDEF(a, n) n ## __Class* n ## __TypeInfo
namespace app {
#include "il2cpp-type-ptr.h"
#include "il2cpp-types-ptr.h"
}
#undef DO_TYPEDEF
@@ -1213,7 +1214,7 @@ void init_il2cpp()
// Define TypeInfo variables
#define DO_TYPEDEF(a, n) n ## __TypeInfo = *(n ## __Class**) (baseAddress + a);
#include "il2cpp-type-ptr.h"
#include "il2cpp-types-ptr.h"
#undef DO_TYPEDEF
}</value>
</data>