SYS/SYS_Types.h File Reference

#include <sys/types.h>

Go to the source code of this file.

Classes

union  SYS_FPReal32Union
union  SYS_FPReal64Union

Defines

#define SYS_PRID64   "lld"
#define SYS_FPREAL_SIZE   64
#define CONST_INT8(x)   ((int8)x)
#define CONST_UINT8(x)   ((uint8)x)
#define CONST_INT16(x)   ((int16)x)
#define CONST_UINT16(x)   ((uint16)x)
#define CONST_INT32(x)   ((int32)x)
#define CONST_UINT32(x)   ((uint32)x)
#define CONST_INT64(x)   (x##LL)
#define CONST_UINT64(x)   (x##LL)
#define CONST_FPREAL16(c)   ((fpreal16)c)
#define CONST_FPREAL32(c)   ((fpreal32)c)
#define CONST_FPREAL64(c)   ((fpreal64)c)
#define CONST_FPREAL(c)   ((fpreal)c)
#define SYS_DEPRECATED
 Mark function as deprecated and may be removed in the future.
#define SYS_FORCE_INLINE   inline
#define SYS_NO_INLINE
 Mark function as NOT to be inlined.
#define SYS_PRINTF_CHECK_ATTRIBUTE(string_index, first_to_check)

Typedefs

typedef signed char int8
typedef unsigned char uint8
typedef short int16
typedef unsigned short uint16
typedef int int32
typedef unsigned int uint32
typedef unsigned char uchar
typedef unsigned int uint
typedef long long int64
typedef unsigned long long uint64
typedef float fpreal32
typedef double fpreal64
typedef float fpreal
typedef unsigned short fpreal16


Define Documentation

#define CONST_FPREAL ( c   )     ((fpreal)c)

Definition at line 130 of file SYS_Types.h.

#define CONST_FPREAL16 ( c   )     ((fpreal16)c)

Definition at line 127 of file SYS_Types.h.

#define CONST_FPREAL32 ( c   )     ((fpreal32)c)

Definition at line 128 of file SYS_Types.h.

#define CONST_FPREAL64 ( c   )     ((fpreal64)c)

Definition at line 129 of file SYS_Types.h.

#define CONST_INT16 ( x   )     ((int16)x)

Definition at line 114 of file SYS_Types.h.

#define CONST_INT32 ( x   )     ((int32)x)

Definition at line 116 of file SYS_Types.h.

#define CONST_INT64 ( x   )     (x##LL)

Definition at line 123 of file SYS_Types.h.

#define CONST_INT8 ( x   )     ((int8)x)

Definition at line 112 of file SYS_Types.h.

#define CONST_UINT16 ( x   )     ((uint16)x)

Definition at line 115 of file SYS_Types.h.

#define CONST_UINT32 ( x   )     ((uint32)x)

Definition at line 117 of file SYS_Types.h.

#define CONST_UINT64 ( x   )     (x##LL)

Definition at line 124 of file SYS_Types.h.

#define CONST_UINT8 ( x   )     ((uint8)x)

Definition at line 113 of file SYS_Types.h.

#define SYS_DEPRECATED

Mark function as deprecated and may be removed in the future.

Function modifiers

Note that these qualifiers can only appear in function declarations.

Definition at line 144 of file SYS_Types.h.

#define SYS_FORCE_INLINE   inline

Mark function to be inlined. If this is done, taking the address of such a function is not allowed.

Definition at line 154 of file SYS_Types.h.

#define SYS_FPREAL_SIZE   64

Definition at line 83 of file SYS_Types.h.

#define SYS_NO_INLINE

Mark function as NOT to be inlined.

Definition at line 163 of file SYS_Types.h.

#define SYS_PRID64   "lld"

Definition at line 48 of file SYS_Types.h.

#define SYS_PRINTF_CHECK_ATTRIBUTE ( string_index,
first_to_check   ) 

Mark a function as doing printf-style formatting, and generate warnings if the formatting string doesn't match the types. string_index is the parameter index of the format string, and first_to_check is the index of the "..." parameter. These indices are both base 1, and "this" counts as the first parameter if it's a method.

Definition at line 175 of file SYS_Types.h.


Typedef Documentation

typedef float fpreal

typedef unsigned short fpreal16

Definition at line 89 of file SYS_Types.h.

typedef float fpreal32

typedef double fpreal64

Examples:
expr/functions.C.

Definition at line 80 of file SYS_Types.h.

typedef short int16

Definition at line 29 of file SYS_Types.h.

typedef int int32

Examples:
CVEX/cvexsample.C, and CVEX/simple.C.

Definition at line 31 of file SYS_Types.h.

typedef long long int64

typedef signed char int8

Definition at line 27 of file SYS_Types.h.

typedef unsigned char uchar

Definition at line 34 of file SYS_Types.h.

typedef unsigned int uint

Examples:
CVEX/simple.C, VRAY/VRAY_DemoMountain.C, and VRAY/VRAY_DemoMountain.h.

Definition at line 36 of file SYS_Types.h.

typedef unsigned short uint16

Definition at line 30 of file SYS_Types.h.

typedef unsigned int uint32

Definition at line 32 of file SYS_Types.h.

typedef unsigned long long uint64

Definition at line 69 of file SYS_Types.h.

typedef unsigned char uint8

Definition at line 28 of file SYS_Types.h.


Generated on Mon Jan 28 00:27:56 2013 for HDK by  doxygen 1.5.9