Fix QSort less than having wrong prototype

This commit is contained in:
doylet 2025-06-29 00:15:06 +10:00
parent e1eb6203c4
commit d4adf81019
3 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
// Generated by the DN single header generator 2025-06-28 20:52:01 // Generated by the DN single header generator 2025-06-29 00:14:47
#define DN_BASE_INC_CPP #define DN_BASE_INC_CPP

View File

@ -1,4 +1,4 @@
// Generated by the DN single header generator 2025-06-28 20:52:01 // Generated by the DN single header generator 2025-06-29 00:14:47
#if !defined(DN_BASE_INC_H) #if !defined(DN_BASE_INC_H)
#define DN_BASE_INC_H #define DN_BASE_INC_H
@ -7368,7 +7368,7 @@ template <typename T> DN_BinarySearchResult DN_BinarySearch (T co
DN_BinarySearchLessThanProc<T> less_than = DN_BinarySearch_DefaultLessThan); DN_BinarySearchLessThanProc<T> less_than = DN_BinarySearch_DefaultLessThan);
// NOTE: DN_QSort ////////////////////////////////////////////////////////////////////////////////// // NOTE: DN_QSort //////////////////////////////////////////////////////////////////////////////////
template <typename T> bool DN_QSort_DefaultLessThan(T const &lhs, T const &rhs); template <typename T> bool DN_QSort_DefaultLessThan(T const &lhs, T const &rhs, void *user_context);
template <typename T> void DN_QSort (T *array, template <typename T> void DN_QSort (T *array,
DN_USize array_size, DN_USize array_size,
void *user_context, void *user_context,

View File

@ -192,7 +192,7 @@ template <typename T> DN_BinarySearchResult DN_BinarySearch (T co
DN_BinarySearchLessThanProc<T> less_than = DN_BinarySearch_DefaultLessThan); DN_BinarySearchLessThanProc<T> less_than = DN_BinarySearch_DefaultLessThan);
// NOTE: DN_QSort ////////////////////////////////////////////////////////////////////////////////// // NOTE: DN_QSort //////////////////////////////////////////////////////////////////////////////////
template <typename T> bool DN_QSort_DefaultLessThan(T const &lhs, T const &rhs); template <typename T> bool DN_QSort_DefaultLessThan(T const &lhs, T const &rhs, void *user_context);
template <typename T> void DN_QSort (T *array, template <typename T> void DN_QSort (T *array,
DN_USize array_size, DN_USize array_size,
void *user_context, void *user_context,