NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches
global_destructor_chain.h
1#pragma once
2
3typedef void (*dtorPtr)(void *, int);
4
5/// @brief Global destruction chain entry.
6/// @details If ::mpObject is @p nullptr , the entry is a marker.
7typedef struct objectRef {
8 struct objectRef *mpLastObject; ///< A pointer to the previously generated objectRef.
9 dtorPtr mpDtor; ///< A pointer to the object's default destructor.
10 void *mpObject; ///< A pointer to the object.
11} objectRef;
void(* dtorPtr)(void *, int)
Destructor function pointer.
Global destruction chain entry.
dtorPtr mpDtor
A pointer to the object's default destructor.
struct objectRef * mpLastObject
A pointer to the previously generated objectRef.
void * mpObject
A pointer to the object.