|
C Everything
This is a C repository containing a curated set of generic data structures and algorithm.
|
Contains routines for handling different types of data for generic operation. More...
Go to the source code of this file.
Functions | |
| e_cmpr | compare_gen (t_gen x, t_gen y) |
| e_cmpr | compare_string (t_gen x, t_gen y) |
| t_gen | assign_string (char *x) |
| void | print_str (t_gen str) |
| t_gen | gen_get_idx (t_gen x, int idx1) |
| void | gen_cpy_idx (t_gen x, int idx1, t_gen data) |
| void | gen_swp_idx (t_gen x, int idx1, int idx2) |
| e_cmpr | gen_cmpr_idx (t_gen x, int idx1, int idx2) |
Contains routines for handling different types of data for generic operation.
Definition in file generic_def.c.
| t_gen assign_string | ( | char * | x | ) |
Definition at line 43 of file generic_def.c.
Definition at line 13 of file generic_def.c.
Definition at line 26 of file generic_def.c.
Definition at line 88 of file generic_def.c.
Definition at line 74 of file generic_def.c.
Definition at line 68 of file generic_def.c.
| void gen_swp_idx | ( | t_gen | x, |
| int | idx1, | ||
| int | idx2 | ||
| ) |
Definition at line 80 of file generic_def.c.
| void print_str | ( | t_gen | str | ) |
Definition at line 63 of file generic_def.c.