Port the remaining Base block A pieces: global/context init, the command-line option table, UTF-8/16 conversion (sgetu8/sputu8), the coordinate/aspect helpers and the context qsort. All functions verified against the binary. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
9 lines
220 B
C++
9 lines
220 B
C++
#ifndef ENGINE_SOURCE_BASE_SORT_H
|
|
#define ENGINE_SOURCE_BASE_SORT_H
|
|
|
|
#include <cstdint>
|
|
|
|
void quicksort(void* base, uint32_t num, uint32_t width, int32_t (*comp)(const void*, const void*, void*), void* context);
|
|
|
|
#endif
|