This file contains some basic definitions (defines, macros, datatypes). More...
#include <stdint.h>
Go to the source code of this file.
Defines | |
#define | SDH_ASSERT_TYPESIZES() |
macro to assert that the defined typedefs have the expected sizes | |
Typedefs | |
typedef int16_t | Int16 |
signed integer, size 2 Byte (16 Bit) | |
typedef int32_t | Int32 |
signed integer, size 4 Byte (32 Bit) | |
typedef uint16_t | UInt16 |
unsigned integer, size 2 Byte (16 Bit) | |
typedef uint32_t | UInt32 |
unsigned integer, size 4 Byte (32 Bit) | |
typedef uint8_t | UInt8 |
unsigned integer, size 1 Byte (8 Bit) | |
Variables | |
NAMESPACE_SDH_START typedef int8_t | Int8 |
signed integer, size 1 Byte (8 Bit) |
This file contains some basic definitions (defines, macros, datatypes).
Copyright (c) 2006 SCHUNK GmbH & Co. KG
Definition in file basisdef.h.
#define SDH_ASSERT_TYPESIZES | ( | ) |
do { \ assert( sizeof( Int8 ) == 1 ); \ assert( sizeof( UInt8 ) == 1 ); \ assert( sizeof( Int16 ) == 2 ); \ assert( sizeof( UInt16 ) == 2 ); \ assert( sizeof( Int32 ) == 4 ); \ assert( sizeof( UInt32 ) == 4 ); \ } while (0)
macro to assert that the defined typedefs have the expected sizes
Definition at line 77 of file basisdef.h.
typedef int16_t Int16 |
signed integer, size 2 Byte (16 Bit)
Definition at line 66 of file basisdef.h.
typedef int32_t Int32 |
signed integer, size 4 Byte (32 Bit)
Definition at line 68 of file basisdef.h.
typedef uint16_t UInt16 |
unsigned integer, size 2 Byte (16 Bit)
Definition at line 67 of file basisdef.h.
typedef uint32_t UInt32 |
unsigned integer, size 4 Byte (32 Bit)
Definition at line 69 of file basisdef.h.
typedef uint8_t UInt8 |
unsigned integer, size 1 Byte (8 Bit)
Definition at line 65 of file basisdef.h.
NAMESPACE_SDH_START typedef int8_t Int8 |
signed integer, size 1 Byte (8 Bit)
Definition at line 64 of file basisdef.h.