comparison libtwamr/typedef.h @ 252:57b4053559ff

libtwamr: beginning of project
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 05 Apr 2024 01:02:23 +0000
parents libgsmefr/typedef.h@af4b075d0313
children 4184ccc136a3
comparison
equal deleted inserted replaced
251:946849291027 252:57b4053559ff
1 /* adaptation between stdint types and those used by ETSI/3GPP AMR code */
2
3 #ifndef typedef_h
4 #define typedef_h
5
6 #include <stdint.h>
7
8 typedef int16_t Word16;
9 typedef int32_t Word32;
10 typedef uint8_t Flag;
11
12 /* Struct for storing pseudo floating point exponent and mantissa */
13 struct _fp
14 {
15 Word16 e; /* exponent */
16 Word16 m; /* mantissa */
17 };
18
19 typedef struct _fp Pfloat;
20
21 #endif /* include guard */