File: taversion.c

package info (click to toggle)
ttfautohint 1.8.4-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 9,120 kB
  • sloc: ansic: 42,761; sh: 5,584; cpp: 4,222; perl: 340; javascript: 78; sed: 52; makefile: 34
file content (39 lines) | stat: -rw-r--r-- 929 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/* taversion.c */

/*
 * Copyright (C) 2017-2021 by Werner Lemberg.
 *
 * This file is part of the ttfautohint library, and may only be used,
 * modified, and distributed under the terms given in `COPYING'.  By
 * continuing to use, modify, or distribute this file you indicate that you
 * have read `COPYING' and understand and accept it fully.
 *
 * The file `COPYING' mentioned in the previous paragraph is distributed
 * with the ttfautohint library.
 */

#include "ta.h"


/* the function declaration is in `ttfautohint.h' */

TA_LIB_EXPORT void
TTF_autohint_version(int *major,
                     int *minor,
                     int *revision)
{
  *major = TTFAUTOHINT_MAJOR;
  *minor = TTFAUTOHINT_MINOR;
  *revision = TTFAUTOHINT_REVISION;
}


/* the function declaration is in `ttfautohint.h' */

TA_LIB_EXPORT const char*
TTF_autohint_version_string(void)
{
  return TTFAUTOHINT_VERSION;
}

/* end of taversion.c */