common.h
Go to the documentation of this file.
00001 /*
00002  * Copyright (C) 2012 Swift Navigation Inc.
00003  * Contact: Henry Hallam <henry@swift-nav.com>
00004  *          Fergus Noble <fergus@swift-nav.com>
00005  *
00006  * This source is subject to the license found in the file 'LICENSE' which must
00007  * be be distributed together with this source. All other rights reserved.
00008  *
00009  * THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND,
00010  * EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED
00011  * WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
00012  */
00013 
00014 #ifndef LIBSWIFTNAV_COMMON_H
00015 #define LIBSWIFTNAV_COMMON_H
00016 
00021 #define MIN(x, y) (((x) < (y)) ? (x) : (y))
00022 #define MAX(x, y) (((x) > (y)) ? (x) : (y))
00023 
00024 #include <stdint.h>
00025 #include <stdbool.h>
00026 #include <inttypes.h>
00027 
00036 typedef int8_t s8;
00038 typedef int16_t s16;
00040 typedef int32_t s32;
00042 typedef int64_t s64;
00044 typedef uint8_t u8;
00046 typedef uint16_t u16;
00048 typedef uint32_t u32;
00050 typedef uint64_t u64;
00051 
00056 #endif /* LIBSWIFTNAV_COMMON_H */
00057 


swiftnav
Author(s):
autogenerated on Sat Jun 8 2019 18:55:32