feat: vendor libltkc
This commit is contained in:
52
vendor/libltkc/ltkc_platform.h
vendored
Executable file
52
vendor/libltkc/ltkc_platform.h
vendored
Executable file
@@ -0,0 +1,52 @@
|
||||
|
||||
/*
|
||||
*****************************************************************************
|
||||
* *
|
||||
* IMPINJ CONFIDENTIAL AND PROPRIETARY *
|
||||
* *
|
||||
* This source code is the sole property of Impinj, Inc. Reproduction or *
|
||||
* utilization of this source code in whole or in part is forbidden without *
|
||||
* the prior written consent of Impinj, Inc. *
|
||||
* *
|
||||
* (c) Copyright Impinj, Inc. 2007,2008. All rights reserved. *
|
||||
* *
|
||||
*****************************************************************************/
|
||||
|
||||
|
||||
/*
|
||||
* Include file to establish context
|
||||
* for the LLRP Tool Kit (LTK) C++ platform.
|
||||
*/
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h> /* malloc() */
|
||||
#include <string.h> /* memcpy() */
|
||||
|
||||
#define FALSE 0
|
||||
#define TRUE 1
|
||||
|
||||
/*
|
||||
* Typedefs of simple types.
|
||||
* The LTK/C++ uses these types extensively.
|
||||
* To retarget to another C++ platform change
|
||||
* these typedefs. Everything else should be
|
||||
* good to go.
|
||||
*/
|
||||
|
||||
#ifdef _STDINT_H
|
||||
|
||||
typedef uint8_t llrp_u8_t;
|
||||
typedef int8_t llrp_s8_t;
|
||||
typedef uint16_t llrp_u16_t;
|
||||
typedef int16_t llrp_s16_t;
|
||||
typedef uint32_t llrp_u32_t;
|
||||
typedef int32_t llrp_s32_t;
|
||||
typedef uint64_t llrp_u64_t;
|
||||
typedef int64_t llrp_s64_t;
|
||||
typedef uint8_t llrp_u1_t;
|
||||
typedef uint8_t llrp_u2_t;
|
||||
typedef uint8_t llrp_utf8_t;
|
||||
typedef int llrp_bool_t;
|
||||
typedef uint8_t llrp_byte_t;
|
||||
|
||||
#endif /* _STDINT_H */
|
||||
Reference in New Issue
Block a user