Re-introduce Address as int64 and remove the opt-in (#2414)
This commit is contained in:
@@ -78,6 +78,14 @@ struct Plugin
|
||||
#include <commandline>
|
||||
#include <entitylump>
|
||||
|
||||
typedef Address = int64;
|
||||
public const int64 __Int64_Address__ = 0;
|
||||
|
||||
/**< Equivallent to nullptr */
|
||||
public const int64 Address_Null = 0;
|
||||
/**< Size of a pointer in bytes (same as `sizeof(void*)`) */
|
||||
public const int64 Address_PointerSize = 0;
|
||||
|
||||
enum APLRes
|
||||
{
|
||||
APLRes_Success = 0, /**< Plugin should load */
|
||||
@@ -725,11 +733,6 @@ enum NumberType
|
||||
NumberType_Int32
|
||||
};
|
||||
|
||||
enum Address
|
||||
{
|
||||
Address_Null = 0 // a typical invalid result when an address lookup fails
|
||||
};
|
||||
|
||||
/**
|
||||
* Load up to 4 bytes from a memory address.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user