mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-09-23 23:00:42 +00:00
30 lines
476 B
C++
30 lines
476 B
C++
#pragma once
|
|
#ifndef __PL_MM_HANDLE_BLOCK_H__
|
|
#define __PL_MM_HANDLE_BLOCK_H__
|
|
|
|
#include <stdint.h>
|
|
|
|
#include "CoreDefs.h"
|
|
|
|
namespace PortabilityLayer
|
|
{
|
|
struct ResourceCompiledRef;
|
|
|
|
struct MMHandleBlock
|
|
{
|
|
explicit MMHandleBlock(void *contents, size_t size);
|
|
|
|
void **AsHandle();
|
|
|
|
void *m_contents; // This must be the first field
|
|
ResourceCompiledRef *m_rmSelfRef;
|
|
|
|
size_t m_size;
|
|
|
|
private:
|
|
MMHandleBlock() PL_DELETED;
|
|
};
|
|
}
|
|
|
|
#endif
|