RTXI 1.3
plugins/ni_device/osiTypes.h File Reference

Go to the source code of this file.

Defines

#define kLittleEndian   1
#define ReadLittleEndianU32(x)   (x)
#define ReadLittleEndianU16(x)   (x)
#define ReadBigEndianU32(x)   (SwitchEndianU32(x))
#define ReadBigEndianU16(x)   (SwitchEndianU16(x))
#define markAsUnused(type, variable)   {type* _variable = (type*) &variable;}
#define kStatusOffset   -50000
#define kStatusSuccess   0
#define kStatusBadWindowType   (-16 + kStatusOffset)
#define NULL   0

Typedefs

typedef signed char i8
typedef unsigned char u8
typedef short i16
typedef unsigned short u16
typedef signed int i32
typedef unsigned int u32
typedef float f32
typedef double f64
typedef char tText
typedef char tChar
typedef i32 tStatus
typedef u32 tBoolean
typedef void * ptr_t
typedef unsigned long ptr_uint_t

Enumerations

enum  { kFalse = 0, kTrue = 1 }

Functions

u32 SwitchEndianU32 (u32 x)
u16 SwitchEndianU16 (u16 x)

Define Documentation

#define kLittleEndian   1

Definition at line 13 of file osiTypes.h.

#define kStatusBadWindowType   (-16 + kStatusOffset)

Definition at line 114 of file osiTypes.h.

#define kStatusOffset   -50000

Definition at line 112 of file osiTypes.h.

#define kStatusSuccess   0

Definition at line 113 of file osiTypes.h.

#define markAsUnused (   type,
  variable 
)    {type* _variable = (type*) &variable;}

Definition at line 111 of file osiTypes.h.

#define NULL   0

Definition at line 117 of file osiTypes.h.

#define ReadBigEndianU16 (   x)    (SwitchEndianU16(x))

Definition at line 88 of file osiTypes.h.

#define ReadBigEndianU32 (   x)    (SwitchEndianU32(x))

Definition at line 87 of file osiTypes.h.

#define ReadLittleEndianU16 (   x)    (x)

Definition at line 85 of file osiTypes.h.

#define ReadLittleEndianU32 (   x)    (x)

Definition at line 84 of file osiTypes.h.


Typedef Documentation

typedef float f32

Definition at line 25 of file osiTypes.h.

typedef double f64

Definition at line 26 of file osiTypes.h.

typedef short i16

Definition at line 21 of file osiTypes.h.

typedef signed int i32

Definition at line 23 of file osiTypes.h.

typedef signed char i8

Definition at line 19 of file osiTypes.h.

typedef void* ptr_t

Definition at line 33 of file osiTypes.h.

typedef unsigned long ptr_uint_t

Definition at line 34 of file osiTypes.h.

typedef u32 tBoolean

Definition at line 31 of file osiTypes.h.

typedef char tChar

Definition at line 28 of file osiTypes.h.

typedef i32 tStatus

Definition at line 29 of file osiTypes.h.

typedef char tText

Definition at line 27 of file osiTypes.h.

typedef unsigned short u16

Definition at line 22 of file osiTypes.h.

typedef unsigned int u32

Definition at line 24 of file osiTypes.h.

typedef unsigned char u8

Definition at line 20 of file osiTypes.h.


Enumeration Type Documentation

anonymous enum
Enumerator:
kFalse 
kTrue 

Definition at line 36 of file osiTypes.h.


Function Documentation

u16 SwitchEndianU16 ( u16  x) [inline]

Definition at line 61 of file osiTypes.h.

u32 SwitchEndianU32 ( u32  x) [inline]

Definition at line 42 of file osiTypes.h.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines