BEEP-8 Helper Lib 1.0.0
Loading...
Searching...
No Matches
handle.h
Go to the documentation of this file.
1
82#pragma once
83
84#define HANDLE_NULL (0)
85
92extern void Handle_Reset();
93
100extern void Handle_Dump();
101
111extern u32 Handle_Entry(void* pPtr);
112
121extern void* Handle_GetPointer(u32 hdl);
122
131extern bool Handle_IsAlive(u32 hdl);
132
140extern void Handle_Remove(u32 hdl);
bool Handle_IsAlive(u32 hdl)
Checks if a handle is valid.
Definition handle.cpp:80
void Handle_Dump()
Dumps the contents of the handle management table.
Definition handle.cpp:25
void * Handle_GetPointer(u32 hdl)
Retrieves a pointer from a handle.
Definition handle.cpp:57
void Handle_Remove(u32 hdl)
Removes a handle and frees the associated pointer.
Definition handle.cpp:84
u32 Handle_Entry(void *pPtr)
Registers a pointer and returns a handle.
Definition handle.cpp:41
void Handle_Reset()
Resets the handle management table.
Definition handle.cpp:18