Fix OTS warning about `maxp.maxSizeOfInstructions`.
[ttfautohint.git] / lib / taversion.c
blob70cb2746d91c2fde85896fab84aa9f3ea95f0634
1 /* taversion.c */
3 /*
4 * Copyright (C) 2017-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.
15 #include "ta.h"
18 /* the function declaration is in `ttfautohint.h' */
20 TA_LIB_EXPORT void
21 TTF_autohint_version(int *major,
22 int *minor,
23 int *revision)
25 *major = TTFAUTOHINT_MAJOR;
26 *minor = TTFAUTOHINT_MINOR;
27 *revision = TTFAUTOHINT_REVISION;
31 /* the function declaration is in `ttfautohint.h' */
33 TA_LIB_EXPORT const char*
34 TTF_autohint_version_string(void)
36 return TTFAUTOHINT_VERSION;
39 /* end of taversion.c */