feat(Doxygen): forgotten function description

This commit is contained in:
Jiří Štefka 2023-12-11 04:43:55 +01:00
parent 72aed56663
commit d91bd4e375
Signed by: jiriks74
GPG Key ID: 1D5E30D3DB2264DE

View File

@ -11,9 +11,11 @@
#include <string.h> #include <string.h>
/** /**
* @brief * @brief Gets the first number in a string
* param * param String where you want to find the number
* return * return The first number found (or -1 if none found)
* Gets the first number in a string. Can find numbers written as digits and
* words.
*/ */
int getNum(const char *line) { int getNum(const char *line) {
char *str = (char *)line; char *str = (char *)line;