Main Page | Modules | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

types.h: Basic data types
[platform independant portions of code]


Defines

#define TimeoutInfinite   (0xffffffff)
#define TimeoutNone   (0)
#define TimeoutIsMs(n)   ( ( (n) != TimeoutNone ) && ( (n) != TimeoutInfinite ) )
#define NULL   0

Typedefs

typedef unsigned char uint8
typedef signed char int8
typedef unsigned short uint16
typedef signed short int16
typedef unsigned long uint32
typedef signed long int32
typedef unsigned int uint64
typedef signed int int64
typedef char * String
typedef unsigned short * String16
typedef void * Pointer
typedef uint32 PointerType
typedef uint32 Timeout
typedef enum _Boolean Boolean

Enumerations

enum  _Boolean { True = 1, False = 0 }

Detailed Description

 *  *  *  * Basic typedefs and defines used through the kernel

Define Documentation

#define NULL   0
 

standard NULL define

Definition at line 60 of file types.h.

#define TimeoutInfinite   (0xffffffff)
 

Definition at line 48 of file types.h.

#define TimeoutIsMs  )     ( ( (n) != TimeoutNone ) && ( (n) != TimeoutInfinite ) )
 

Definition at line 51 of file types.h.

#define TimeoutNone   (0)
 

Definition at line 49 of file types.h.


Typedef Documentation

typedef enum _Boolean Boolean
 

typedef signed short int16
 

Definition at line 23 of file types.h.

typedef signed long int32
 

Definition at line 25 of file types.h.

typedef signed int int64
 

Definition at line 33 of file types.h.

typedef signed char int8
 

Definition at line 21 of file types.h.

typedef void* Pointer
 

Pointer should allow one to reference all types of objects

Definition at line 39 of file types.h.

typedef uint32 PointerType
 

PointerType should be large enough to hold a pointer, and allow arithmetic to be done on it

Definition at line 43 of file types.h.

typedef char* String
 

Definition at line 35 of file types.h.

typedef unsigned short* String16
 

Definition at line 36 of file types.h.

typedef uint32 Timeout
 

Todo:
update all timers/timeouts to be 64-bit, with more then simple ms accuracy?

Definition at line 46 of file types.h.

typedef unsigned short uint16
 

Definition at line 22 of file types.h.

typedef unsigned long uint32
 

Definition at line 24 of file types.h.

typedef unsigned int uint64
 

Todo:
check this define! What to do for ansi 64-bit type? Is there one?

Definition at line 32 of file types.h.

typedef unsigned char uint8
 

Definition at line 20 of file types.h.


Enumeration Type Documentation

enum _Boolean
 

Enumerator:
True 
False 

Definition at line 53 of file types.h.


Generated on Wed Mar 22 20:36:34 2006 for ndk by  doxygen 1.4.4