mirror of
https://github.com/odin-lang/Odin.git
synced 2025-12-29 01:14:40 +00:00
Serialize errors to make them sortable, deterministic, and generally more control
This commit is contained in:
@@ -51,6 +51,13 @@ template <typename T> gb_internal void array_copy(Array<T> *array, Array<T> cons
|
||||
template <typename T> gb_internal T *array_end_ptr(Array<T> *array);
|
||||
|
||||
|
||||
template <typename T>
|
||||
gb_internal void array_sort(Array<T> &array, gbCompareProc compare_proc) {
|
||||
gb_sort_array(array.data, array.count, compare_proc);
|
||||
}
|
||||
|
||||
|
||||
|
||||
template <typename T>
|
||||
struct Slice {
|
||||
T *data;
|
||||
|
||||
Reference in New Issue
Block a user