rename types
This commit is contained in:
@@ -13,16 +13,21 @@ typedef struct {
|
||||
size_t count;
|
||||
size_t capacity;
|
||||
int* items;
|
||||
} lsort_int_array;
|
||||
} lsort_array_i;
|
||||
|
||||
lsort_int_array* lsort_create_int_array();
|
||||
void lsort_int_array_append(lsort_int_array* array, int number);
|
||||
int lsort_int_array_swap(lsort_int_array* array, int indexA, int indexB);
|
||||
lsort_array_i* lsort_create_int_array();
|
||||
void lsort_array_i_append(lsort_array_i* array, int number);
|
||||
int lsort_array_i_swap(lsort_array_i* array, int indexA, int indexB);
|
||||
|
||||
typedef struct {
|
||||
size_t count;
|
||||
size_t capacity;
|
||||
lsort_array_i** items;
|
||||
} lsort_array_i_array;
|
||||
|
||||
// struct lsort_int_link {
|
||||
// int value;
|
||||
// lsort_int_array* next;
|
||||
// lsort_array_i* next;
|
||||
// };
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user