mirror of
https://github.com/zeldaret/ph
synced 2026-06-10 20:58:33 -04:00
Delete Resource
It has been replaced by `DestructorChain`
This commit is contained in:
@@ -1,13 +0,0 @@
|
||||
#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 */
|
||||
};
|
||||
Reference in New Issue
Block a user