finish to link all the files

This commit is contained in:
Maoake Teriierooiterai
2026-01-07 10:06:38 +01:00
parent ca732b1b97
commit 95577e5f02
15 changed files with 158 additions and 319 deletions

View File

@@ -24,10 +24,18 @@ typedef struct s_tab
int wich_path(t_stacks *piles, int max_range, int range, char c);
int stack_len(t_stack *stack);
void bucket_algo(t_stacks *piles, t_tab *preset, int range);
/* SORT UTILS 2 FILE */
/* SORT UTILS FILES */
void sort_from_left(t_stacks *piles);
void sort_from_right(t_stacks *piles);
/* SORT UTILS FILE */
void push_range_to_b(t_stacks *piles, t_tab *one_preset, int range);
/* MEDIUM UTILS FILES */
int range_bucket(t_stack *first);
int get_first_lower(t_stack *first);
int get_next_lower(t_stack *first, int old_lower);
int calcul_range(int value, int range);
int in_range(int value, int max_range, int range);
int get_number_in_range(int max_range, t_stack *a, int range);
/* UTILS STRUCT TAB FILE */
t_tab *get_tabs(t_stack *first, int range);
#endif