Fix OTS warning about `maxp.maxSizeOfInstructions`.
[ttfautohint.git] / lib / tasort.h
blob2408a931db52bc0c1b42b8350f407e96ac0977fa
1 /* tasort.h */
3 /*
4 * Copyright (C) 2011-2022 by Werner Lemberg.
6 * This file is part of the ttfautohint library, and may only be used,
7 * modified, and distributed under the terms given in `COPYING'. By
8 * continuing to use, modify, or distribute this file you indicate that you
9 * have read `COPYING' and understand and accept it fully.
11 * The file `COPYING' mentioned in the previous paragraph is distributed
12 * with the ttfautohint library.
16 /* originally part of file `aftypes.h' (2011-Mar-28) from FreeType */
18 /* heavily modified 2011 by Werner Lemberg <wl@gnu.org> */
20 #ifndef TASORT_H_
21 #define TASORT_H_
23 #include "tatypes.h"
25 #ifdef __cplusplus
26 extern "C" {
27 #endif
30 void
31 ta_sort_pos(FT_UInt count,
32 FT_Pos* table);
34 void
35 ta_sort_and_quantize_widths(FT_UInt* count,
36 TA_Width widths,
37 FT_Pos threshold);
39 #ifdef __cplusplus
41 #endif
43 #endif /* TASORT_H_ */
45 /* end of tasort.h */