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 str...
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
Top level include containg common headers.
t_gen get_idx_int(t_gen, int)
void swap_idx_char(t_gen, int, int)
void copy_idx_int(t_gen, int, t_gen)
e_cmpr compare_idx_char(t_gen, int, int)
e_cmpr compare_string(t_gen, t_gen)
void copy_idx_char(t_gen, int, t_gen)
e_cmpr compare_gen(t_gen, t_gen)
e_cmpr compare_int(t_gen, t_gen)
e_cmpr compare_char(t_gen, t_gen)
Below routines defined as reference for basic datatypes.
t_gen get_idx_float(t_gen, int)
void swap_int(t_gen, t_gen)
void swap_gen(t_gen, t_gen)
void swap_char(t_gen, t_gen)
e_cmpr compare_float(t_gen, t_gen)
void copy_idx_float(t_gen, int, t_gen)
t_gen get_idx_char(t_gen, int)
void swap_idx_int(t_gen, int, int)
void swap_string(t_gen, t_gen)
void swap_float(t_gen, t_gen)
e_cmpr compare_idx_int(t_gen, int, int)
e_cmpr compare_idx_float(t_gen, int, int)
void swap_idx_float(t_gen, int, int)
f_cmpr cmpr
Routine used for comparing two given elems of said type.
f_get_idx get_idx
Routine used for getting elem in given array index.
f_swap swap
Routine used for swaping two elemnts of goven data.
f_swp_idx swap_idx
Routine used for swapring elems in given array indicies.
f_free free
Routine used for freeing elements of said data.
f_cpy_idx copy_idx
Routine used for copying elems in given array indicies.
f_print print_data
Routine used for printing elem data.
f_cmp_idx cmpr_idx
Routine used for comparing elems in given array indicies.
enum data_types e_data_types
Enum to create data structure of the following type.