EHS/include/ehs/PtrData.h

18 lines
242 B
C
Raw Permalink Normal View History

2024-02-05 22:25:30 -08:00
#pragma once
#include "DataType.h"
namespace ehs
{
struct PtrData
{
UInt_64 references;
void* data;
};
2024-07-24 01:36:20 -07:00
EHS_LIB_IO bool HasPtrData(void* data);
2024-02-05 22:25:30 -08:00
2024-07-24 01:36:20 -07:00
EHS_LIB_IO void AddPtrData(void* data);
2024-02-05 22:25:30 -08:00
2024-07-24 01:36:20 -07:00
EHS_LIB_IO bool RemovePtrData(void* data);
2024-02-05 22:25:30 -08:00
}