diff options
Diffstat (limited to 'arm9/lib/libnns/include/NNS_FND_list.h')
-rw-r--r-- | arm9/lib/libnns/include/NNS_FND_list.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/arm9/lib/libnns/include/NNS_FND_list.h b/arm9/lib/libnns/include/NNS_FND_list.h new file mode 100644 index 00000000..5fec2fdf --- /dev/null +++ b/arm9/lib/libnns/include/NNS_FND_list.h @@ -0,0 +1,20 @@ +#ifndef GUARD_NNS_FND_LIST_H +#define GUARD_NNS_FND_LIST_H + +typedef struct +{ + void* prevObject; // Pointer to the previous linked object. + void* nextObject; // Pointer to the next linked object. + +} NNSFndLink; + +typedef struct +{ + void* headObject; // Pointer for the object linked to the top of the list. + void* tailObject; // Pointer for the object linked to the end of the list. + u16 numObjects; // Number of objects linked in the list. + u16 offset; // Offset for NNSFndLink type structure member. + +} NNSFndList; + +#endif //GUARD_NNS_FND_LIST_H |