Added parameter documentation

This commit is contained in:
Alvin Philips 2021-10-31 07:13:09 +05:30
parent daf3f50202
commit f7d7da69b9

View File

@ -34,6 +34,7 @@ struct Node {
Node* next; ///< The Node's successor Node* next; ///< The Node's successor
/** /**
* @brief Creates a new Node with some initial data * @brief Creates a new Node with some initial data
* @param _data Value of Node
*/ */
explicit Node(int64_t _data) { explicit Node(int64_t _data) {
data = _data; ///< Set value of Node data data = _data; ///< Set value of Node data
@ -41,6 +42,8 @@ struct Node {
} }
/** /**
* @brief Creates a new Node with initial data and a successor * @brief Creates a new Node with initial data and a successor
* @param _data Value of Node
* @param _next Pointer to the next Node
*/ */
explicit Node(int64_t _data, Node* _next) { explicit Node(int64_t _data, Node* _next) {
data = _data; ///< Set value of Node data data = _data; ///< Set value of Node data