00001 /// types.h 00002 /// 00003 /// Licensed under the Apache License, Version 2.0 (the "License"); 00004 /// you may not use this file except in compliance with the License. 00005 /// You may obtain a copy of the License at 00006 /// 00007 /// http://www.apache.org/licenses/LICENSE-2.0 00008 /// 00009 /// Unless required by applicable law or agreed to in writing, software 00010 /// distributed under the License is distributed on an "AS IS" BASIS, 00011 /// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 00012 /// See the License for the specific language governing permissions and 00013 /// limitations under the License. 00014 /// 00015 /// Author: riley@google.com (Michael Riley) 00016 /// 00017 /// \file 00018 /// Various type definitions (mostly for Google compatibility). 00019 00020 #include <cstdlib> /// for ssize_t 00021 #include <stdint.h> /// *int*_t 00022 00023 #include <fst/compat.h> /// for DISALLOW_COPY_AND_ASSIGN 00024 00025 #ifndef FST_LIB_TYPES_H__ 00026 #define FST_LIB_TYPES_H__ 00027 00028 typedef int8_t int8; 00029 typedef int16_t int16; 00030 typedef int32_t int32; 00031 typedef int64_t int64; 00032 00033 typedef uint8_t uint8; 00034 typedef uint16_t uint16; 00035 typedef uint32_t uint32; 00036 typedef uint64_t uint64; 00037 00038 #endif /// FST_LIB_TYPES_H__ 00039
1.7.1