FST  openfst-1.8.1
OpenFst Library
types.h
Go to the documentation of this file.
1 // Licensed under the Apache License, Version 2.0 (the "License");
2 // you may not use this file except in compliance with the License.
3 // You may obtain a copy of the License at
4 //
5 // http://www.apache.org/licenses/LICENSE-2.0
6 //
7 // Unless required by applicable law or agreed to in writing, software
8 // distributed under the License is distributed on an "AS IS" BASIS,
9 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10 // See the License for the specific language governing permissions and
11 // limitations under the License.
12 //
13 // See www.openfst.org for extensive documentation on this weighted
14 // finite-state transducer library.
15 //
16 // Various type definitions (mostly for Google compatibility).
17 
18 #include <cstdlib> // for ssize_t.
19 #include <cstdint> // for ?int*_t.
20 
21 #ifndef FST_LIB_TYPES_H_
22 #define FST_LIB_TYPES_H_
23 
24 using int8 = int8_t;
25 using int16 = int16_t;
26 using int32 = int32_t;
27 using int64 = int64_t;
28 
29 using uint8 = uint8_t;
30 using uint16 = uint16_t;
31 using uint32 = uint32_t;
32 using uint64 = uint64_t;
33 
34 #endif // FST_LIB_TYPES_H_
int16_t int16
Definition: types.h:25
uint64_t uint64
Definition: types.h:32
uint16_t uint16
Definition: types.h:30
int64_t int64
Definition: types.h:27
int8_t int8
Definition: types.h:24
uint8_t uint8
Definition: types.h:29
uint32_t uint32
Definition: types.h:31
int32_t int32
Definition: types.h:26