diff options
| author | Aetias <aetias@outlook.com> | 2024-04-07 15:04:51 +0200 |
|---|---|---|
| committer | Aetias <aetias@outlook.com> | 2024-04-07 15:04:51 +0200 |
| commit | 392ccb357e8b9bf5d12eae74577b5778bff7c9cd (patch) | |
| tree | 0ffad327db6bd3395529636681393af469a35cf2 /include/System | |
| parent | c628010c04d156d3795a6b998c5dccce608e664d (diff) | |
Mangle `ActorRupee` actor type and resource
Diffstat (limited to 'include/System')
| -rw-r--r-- | include/System/Resource.hpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/include/System/Resource.hpp b/include/System/Resource.hpp new file mode 100644 index 00000000..757ccba0 --- /dev/null +++ b/include/System/Resource.hpp @@ -0,0 +1,13 @@ +#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 */ +}; |
