mirror of
https://github.com/encounter/ph.git
synced 2026-03-30 11:34:37 -07:00
14 lines
234 B
C++
14 lines
234 B
C++
#pragma once
|
|
|
|
#include "global.h"
|
|
#include "types.h"
|
|
|
|
typedef void (*ResourceCleanupFunc)(void *object);
|
|
|
|
struct Resource {
|
|
/* 0 */ Resource *next;
|
|
/* 4 */ ResourceCleanupFunc cleanup;
|
|
/* 8 */ void *object;
|
|
/* c */
|
|
};
|