Use posh type definitions.
This commit is contained in:
parent
66a8237215
commit
25673a0c42
@ -2,7 +2,7 @@
|
|||||||
#error "Do not include this file directly."
|
#error "Do not include this file directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <stdint.h> // uint8_t, int8_t, ...
|
//#include <stdint.h> // uint8_t, int8_t, ...
|
||||||
|
|
||||||
// Function linkage
|
// Function linkage
|
||||||
#define DLL_IMPORT
|
#define DLL_IMPORT
|
||||||
@ -48,7 +48,7 @@
|
|||||||
|
|
||||||
#define restrict __restrict__
|
#define restrict __restrict__
|
||||||
|
|
||||||
|
/*
|
||||||
// Type definitions
|
// Type definitions
|
||||||
typedef uint8_t uint8;
|
typedef uint8_t uint8;
|
||||||
typedef int8_t int8;
|
typedef int8_t int8;
|
||||||
@ -64,3 +64,4 @@ typedef int64_t int64;
|
|||||||
|
|
||||||
// Aliases
|
// Aliases
|
||||||
typedef uint32 uint;
|
typedef uint32 uint;
|
||||||
|
*/
|
||||||
|
@ -47,7 +47,7 @@
|
|||||||
|
|
||||||
#define restrict __restrict__
|
#define restrict __restrict__
|
||||||
|
|
||||||
|
/*
|
||||||
// Type definitions
|
// Type definitions
|
||||||
typedef unsigned char uint8;
|
typedef unsigned char uint8;
|
||||||
typedef signed char int8;
|
typedef signed char int8;
|
||||||
@ -63,3 +63,4 @@ typedef signed long long int64;
|
|||||||
|
|
||||||
// Aliases
|
// Aliases
|
||||||
typedef uint32 uint;
|
typedef uint32 uint;
|
||||||
|
*/
|
||||||
|
@ -41,7 +41,7 @@
|
|||||||
|
|
||||||
#define restrict __restrict__
|
#define restrict __restrict__
|
||||||
|
|
||||||
|
/*
|
||||||
// Type definitions
|
// Type definitions
|
||||||
typedef unsigned char uint8;
|
typedef unsigned char uint8;
|
||||||
typedef signed char int8;
|
typedef signed char int8;
|
||||||
@ -57,3 +57,4 @@ typedef signed long long int64;
|
|||||||
|
|
||||||
// Aliases
|
// Aliases
|
||||||
typedef uint32 uint;
|
typedef uint32 uint;
|
||||||
|
*/
|
||||||
|
@ -39,7 +39,7 @@
|
|||||||
#define __FUNC__ __FUNCTION__
|
#define __FUNC__ __FUNCTION__
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/*
|
||||||
// Type definitions
|
// Type definitions
|
||||||
typedef unsigned char uint8;
|
typedef unsigned char uint8;
|
||||||
typedef signed char int8;
|
typedef signed char int8;
|
||||||
@ -55,7 +55,7 @@ typedef signed __int64 int64;
|
|||||||
|
|
||||||
// Aliases
|
// Aliases
|
||||||
typedef uint32 uint;
|
typedef uint32 uint;
|
||||||
|
*/
|
||||||
|
|
||||||
// Unwanted VC++ warnings to disable.
|
// Unwanted VC++ warnings to disable.
|
||||||
/*
|
/*
|
||||||
|
@ -99,6 +99,23 @@
|
|||||||
#define NV_ENDIAN_STRING POSH_ENDIAN_STRING
|
#define NV_ENDIAN_STRING POSH_ENDIAN_STRING
|
||||||
|
|
||||||
|
|
||||||
|
// Type definitions:
|
||||||
|
typedef posh_u8_t uint8;
|
||||||
|
typedef posh_i8_t int8;
|
||||||
|
|
||||||
|
typedef posh_u16_t uint16;
|
||||||
|
typedef posh_i16_t int16;
|
||||||
|
|
||||||
|
typedef posh_u32_t uint32;
|
||||||
|
typedef posh_i32_t int32;
|
||||||
|
|
||||||
|
typedef posh_u64_t uint64;
|
||||||
|
typedef posh_i64_t int64;
|
||||||
|
|
||||||
|
// Aliases
|
||||||
|
typedef uint32 uint;
|
||||||
|
|
||||||
|
|
||||||
// Version string:
|
// Version string:
|
||||||
#define NV_VERSION_STRING \
|
#define NV_VERSION_STRING \
|
||||||
NV_OS_STRING "/" NV_CC_STRING "/" NV_CPU_STRING"/" \
|
NV_OS_STRING "/" NV_CC_STRING "/" NV_CPU_STRING"/" \
|
||||||
|
Loading…
Reference in New Issue
Block a user