Skip to content

Commit 8ec4da7

Browse files
committed
doc(fillPattern): add missing documentation
1 parent 188052c commit 8ec4da7

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

libs/patterns/methods.h

+8-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,14 @@
44

55
#include "./structs.h"
66

7-
// TODO: Documentation
7+
/**
8+
* @brief Fills the `arr` field of a pattern structure with a specified value.
9+
*
10+
* @param pPattern A pointer to the pattern structure.
11+
* @param with The value to fill the `arr` field.
12+
*
13+
* @warning This function assumes that `pPattern` has been properly initialized.
14+
*/
815
void fillPattern(TPattern* pPattern, char with);
916

1017
// TODO: Documentation

0 commit comments

Comments
 (0)