add params and returns to factorial_large_number

This commit is contained in:
Krishna Vedala 2020-05-31 10:51:34 -04:00
parent 8687bb4746
commit ba90b68190

View File

@ -18,6 +18,7 @@ typedef struct _large_num
/**
* create a new large number
* \returns pointer to a large number
**/
large_num *new_number(void)
{
@ -30,6 +31,7 @@ large_num *new_number(void)
/**
* delete all memory allocated for large number
* \param[in] num pointer to large_num to delete
**/
void delete_number(large_num *num)
{
@ -39,6 +41,8 @@ void delete_number(large_num *num)
/**
* add a digit to the large number
* \param[in,out] num
* \param[in] value value of the digit to insert
**/
void add_digit(large_num *num, unsigned int value)
{