File: numtypes.h

package info (click to toggle)
afdko 3.6.2%2Bdfsg1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 19,172 kB
  • sloc: ansic: 218,471; python: 17,440; cpp: 3,500; makefile: 3,172; sh: 464; yacc: 421; cs: 47
file content (29 lines) | stat: -rw-r--r-- 959 bytes parent folder | download | duplicates (3)
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
/* Copyright 2014 Adobe Systems Incorporated (http://www.adobe.com/). All Rights Reserved.
   This software is licensed as OpenSource, under the Apache License, Version 2.0.
   This license is available at: http://opensource.org/licenses/Apache-2.0. */

#ifndef SFNTDIFF_NUMTYPES_H
#define SFNTDIFF_NUMTYPES_H

#define TYPEDEF_boolean 1
/* import type definitions for Int16, Card16 etc from shared header file */
#include "supportpublictypes.h"

typedef char            Byte8;
typedef int             IntN;
typedef unsigned        CardN;
typedef short           ShortN;
typedef unsigned short  ShortCardN;
typedef long            LongN;
typedef unsigned long   LongCardN;
typedef float           FloatN;
typedef double          DoubleN;

#define MAX_INT16   MAXInt16
#define MAX_INT32   MAXInt32
#define MAX_CARD16  MAXCard16
#define MAX_CARD32  MAXCard32

#undef global /* global.h uses this name for a different purpose */

#endif /* SFNTDIFF_NUMTYPES_H */