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>
/**
* @brief
* param
* return
* @brief Gets the first number in a string
* param String where you want to find the number
* 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) {
char *str = (char *)line;