|
NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
|
Go to the source code of this file.
Functions | |
| void * | __construct_new_array (void *pBlock, ctorPtr pCtor, dtorPtr pDtor, u32 size, u32 n) |
| Allocates and constructs an array of objects. | |
| void | __construct_array (void *pBlock, ctorPtr pCtor, dtorPtr pDtor, u32 size, u32 n) |
| Constructs an array of objects. | |
| void | __destroy_arr (void *pBlock, dtorPtr pDtor, u32 size, u32 n) |
| Destroys an array of objects. | |
| void | __destroy_new_array (void *pBlock, dtorPtr pDtor) |
| Destroys and deletes an array of objects. | |
Allocates and constructs an array of objects.
The allocated memory must be size * n + 0x10.
[Calls to this function are generated as part of the new[] macro].
| pBlock | A pointer to the allocated memory, or nullptr . |
| pCtor | A pointer to the default constructor, or nullptr . |
| pDtor | A pointer to the default destructor, or nullptr . |
| size | The size of one array element. |
| n | The number of array elements. |
Definition at line 19 of file class_arrays.cpp.
Constructs an array of objects.
[Calls to this function are generated by using constructor initializers on array members].
| pBlock | A pointer to the array memory. |
| pCtor | A pointer to the default constructor. |
| pDtor | A pointer to the default destructor, or nullptr . |
| size | The size of one array element. |
| n | The number of array elements. |
Definition at line 51 of file class_arrays.cpp.
| void __destroy_arr | ( | void * | pBlock, |
| dtorPtr | pDtor, | ||
| u32 | size, | ||
| u32 | n ) |
Destroys an array of objects.
[Calls to this function are generated automatically by destructors of classes containing array members].
| pBlock | A pointer to the array memory. |
| pDtor | A pointer to the default destructor. |
| size | The size of one array element. |
| n | The number of array elements. |
Definition at line 71 of file class_arrays.cpp.
| void __destroy_new_array | ( | void * | pBlock, |
| dtorPtr | pDtor ) |
Destroys and deletes an array of objects.
[Calls to this function are generated as part of the delete[] macro].
| pBlock | A pointer to the allocated memory, or nullptr . |
| pDtor | A pointer to the default destructor, or nullptr . |
Definition at line 85 of file class_arrays.cpp.