mirror of
https://github.com/CraftyBoss/SuperMarioOdysseyOnline.git
synced 2024-11-22 11:15:15 +00:00
24 lines
440 B
C++
24 lines
440 B
C++
#pragma once
|
|
|
|
#include "basis/seadTypes.h"
|
|
#include "container/seadListImpl.h"
|
|
#include "container/seadOffsetList.h"
|
|
|
|
namespace sead
|
|
{
|
|
class MemBlock
|
|
{
|
|
public:
|
|
static MemBlock* FindManageArea(void* ptr);
|
|
|
|
static u32 getOffset() { return offsetof(MemBlock, mListNode); }
|
|
|
|
protected:
|
|
ListNode mListNode;
|
|
u16 mHeapCheckTag;
|
|
u16 mOffset;
|
|
size_t mSize;
|
|
};
|
|
|
|
using MemBlockList = OffsetList<MemBlock>;
|
|
} // namespace sead
|