mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
DataCache: remove legacy inlines
This commit is contained in:
parent
c99d7dd8c0
commit
ad4e8c241b
@ -10,16 +10,6 @@
|
|||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
typedef unsigned short MDLHandle_t;
|
typedef unsigned short MDLHandle_t;
|
||||||
|
|
||||||
inline MDLHandle_t VoidPtrToMDLHandle(void* ptr)
|
|
||||||
{
|
|
||||||
return (MDLHandle_t)(int)(intptr_t)ptr;
|
|
||||||
}
|
|
||||||
|
|
||||||
inline void* MDLHandleToVirtual(MDLHandle_t hndl)
|
|
||||||
{
|
|
||||||
return (void*)(uintptr_t)hndl;
|
|
||||||
}
|
|
||||||
|
|
||||||
enum
|
enum
|
||||||
{
|
{
|
||||||
MDLHANDLE_INVALID = (MDLHandle_t)~0
|
MDLHANDLE_INVALID = (MDLHandle_t)~0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user