C Everything
This is a C repository containing a curated set of generic data structures and algorithm.
|
Contains routines that are commonly used by all data structures. More...
#include "common.h"
Go to the source code of this file.
Functions | |
void | init_data_params (t_dparams *prms, e_data_types data_type) |
Called to initalize data params for default data types Else for custom data types the data params structure is to be defined by user More... | |
void | dummy_free (void *mem_addr, char *file, int line) |
Dummy free function Else for custom data types the data params structure is to be defined by user More... | |
Contains routines that are commonly used by all data structures.
Definition in file common.c.
void dummy_free | ( | void * | mem_addr, |
char * | file, | ||
int | line | ||
) |
void init_data_params | ( | t_dparams * | prms, |
e_data_types | data_type | ||
) |
Called to initalize data params for default data types Else for custom data types the data params structure is to be defined by user
prms | - Pointer to param struct that will be filled for default data types |
data_type | - Type of default data .i.e, int, float, char, double... |