Added unit tests for BigInt data type and updated docs
This commit is contained in:
@@ -1854,4 +1854,4 @@ bigint_result_t bigint_printf(const char *format, ...) {
|
||||
SET_MSG(result, "Printf completed successfully");
|
||||
|
||||
return result;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -61,4 +61,4 @@ bigint_result_t bigint_printf(const char *format, ...);
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -37,7 +37,7 @@ uint64_t hash_key(const char *key) {
|
||||
*
|
||||
* Returns a map_result_t data type containing a new hash map
|
||||
*/
|
||||
map_result_t map_new() {
|
||||
map_result_t map_new(void) {
|
||||
map_result_t result = {0};
|
||||
|
||||
map_t *map = malloc(sizeof(map_t));
|
||||
|
||||
@@ -53,7 +53,7 @@ typedef struct {
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
map_result_t map_new();
|
||||
map_result_t map_new(void);
|
||||
map_result_t map_add(map_t *map, const char *key, void *value);
|
||||
map_result_t map_get(const map_t *map, const char *key);
|
||||
map_result_t map_remove(map_t *map, const char *key);
|
||||
|
||||
Reference in New Issue
Block a user