mirror of
https://github.com/MaJerle/lwshell.git
synced 2025-02-06 13:08:22 +08:00
Add description for function prototype
This commit is contained in:
parent
080d62c7c8
commit
9e1663b273
@ -65,9 +65,12 @@ typedef enum {
|
|||||||
} lwshellr_t;
|
} lwshellr_t;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
* \brief Command function prototype
|
||||||
|
* \param[in] argc: Number of arguments
|
||||||
|
* \param[in] argv: Pointer to arguments
|
||||||
|
* \return `0` on success, `-1` otherwise
|
||||||
*/
|
*/
|
||||||
typedef int32_t(*lwshell_cmd_fn)(int32_t argc, char** argv);
|
typedef int32_t (*lwshell_cmd_fn)(int32_t argc, char** argv);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \brief LwSHELL main structure
|
* \brief LwSHELL main structure
|
||||||
|
Loading…
x
Reference in New Issue
Block a user