change to header guards wooo

This commit is contained in:
elijah-thomas774
2024-03-17 18:55:49 -04:00
parent de0d7a8e0a
commit 6ca7763bc0
84 changed files with 473 additions and 285 deletions
+4 -1
View File
@@ -1,4 +1,5 @@
#pragma once
#ifndef C_LIST_H
#define C_LIST_H
// This file was ported from https://github.com/NSMBW-Community/NSMBW-Decomp/blob/master/include/dol/cLib/c_list.hpp
@@ -67,3 +68,5 @@ protected:
cListNd_c *mpFirst; ///< The first node in the list.
cListNd_c *mpLast; ///< The last node in the list.
};
#endif
+4 -1
View File
@@ -1,4 +1,5 @@
#pragma once
#ifndef C_OWNER_SET_H
#define C_OWNER_SET_H
// This file was ported from
// https://github.com/NSMBW-Community/NSMBW-Decomp/blob/master/include/dol/cLib/c_owner_set.hpp
@@ -59,3 +60,5 @@ private:
cOwnerSetNd_c *mpRoot; ///< The first element of the set.
};
#endif
+5 -1
View File
@@ -1,4 +1,5 @@
#pragma once
#ifndef C_TREE_H
#define C_TREE_H
// This file was ported from https://github.com/NSMBW-Community/NSMBW-Decomp/blob/master/include/dol/cLib/c_tree.hpp
@@ -56,6 +57,7 @@ public:
* @return If the operation was successful.
*/
bool addTreeNode(cTreeNd_c *node, cTreeNd_c *parent);
bool insertTreeNode(cTreeNd_c *node, cTreeNd_c *parent);
/**
* @brief Removes a node from the tree.
@@ -72,3 +74,5 @@ public:
protected:
cTreeNd_c *mpRootNode; ///< The root node of the tree.
};
#endif