mirror of
https://github.com/zeldaret/ph
synced 2026-05-23 23:05:17 -04: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 */
|
|
};
|