mirror of
https://github.com/alliedmodders/sourcemod.git
synced 2025-12-06 18:08:36 +00:00
Fix SortFunc2D typedef
This commit is contained in:
parent
7cc392392d
commit
bb3b73684a
@ -119,11 +119,7 @@ native void SortCustom1D(int[] array, int array_size, SortFunc1D sortfunc, any d
|
|||||||
* 0 if first is equal to second
|
* 0 if first is equal to second
|
||||||
* 1 if first should go after second
|
* 1 if first should go after second
|
||||||
*/
|
*/
|
||||||
typeset SortFunc2D
|
typedef SortFunc2D = function int (any[] elem1, any[] elem2, const any[][] array, any data);
|
||||||
{
|
|
||||||
function int (int[] elem1, int[] elem2, const int[][] array, any data);
|
|
||||||
function int (char[] elem1, char[] elem2, const char[][] array, any data);
|
|
||||||
};
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sorts a custom 2D array. You must pass in a comparison function.
|
* Sorts a custom 2D array. You must pass in a comparison function.
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user