Planeshift
Typedefs | Functions | Variables

DetourStatus.h File Reference

Go to the source code of this file.

Typedefs

typedef unsigned int dtStatus

Functions

bool dtStatusDetail (dtStatus status, unsigned int detail)
bool dtStatusFailed (dtStatus status)
bool dtStatusInProgress (dtStatus status)
bool dtStatusSucceed (dtStatus status)

Variables

static const unsigned int DT_BUFFER_TOO_SMALL = 1 << 4
static const unsigned int DT_FAILURE = 1u << 31
static const unsigned int DT_IN_PROGRESS = 1u << 29
static const unsigned int DT_INVALID_PARAM = 1 << 3
static const unsigned int DT_OUT_OF_MEMORY = 1 << 2
static const unsigned int DT_OUT_OF_NODES = 1 << 5
static const unsigned int DT_PARTIAL_RESULT = 1 << 6
static const unsigned int DT_STATUS_DETAIL_MASK = 0x0ffffff
static const unsigned int DT_SUCCESS = 1u << 30
static const unsigned int DT_WRONG_MAGIC = 1 << 0
static const unsigned int DT_WRONG_VERSION = 1 << 1

Typedef Documentation

Definition at line 22 of file DetourStatus.h.


Function Documentation

bool dtStatusDetail ( dtStatus  status,
unsigned int  detail 
) [inline]

Definition at line 59 of file DetourStatus.h.

bool dtStatusFailed ( dtStatus  status) [inline]

Definition at line 47 of file DetourStatus.h.

bool dtStatusInProgress ( dtStatus  status) [inline]

Definition at line 53 of file DetourStatus.h.

bool dtStatusSucceed ( dtStatus  status) [inline]

Definition at line 41 of file DetourStatus.h.


Variable Documentation

const unsigned int DT_BUFFER_TOO_SMALL = 1 << 4 [static]

Definition at line 35 of file DetourStatus.h.

const unsigned int DT_FAILURE = 1u << 31 [static]

Definition at line 25 of file DetourStatus.h.

const unsigned int DT_IN_PROGRESS = 1u << 29 [static]

Definition at line 27 of file DetourStatus.h.

const unsigned int DT_INVALID_PARAM = 1 << 3 [static]

Definition at line 34 of file DetourStatus.h.

const unsigned int DT_OUT_OF_MEMORY = 1 << 2 [static]

Definition at line 33 of file DetourStatus.h.

const unsigned int DT_OUT_OF_NODES = 1 << 5 [static]

Definition at line 36 of file DetourStatus.h.

const unsigned int DT_PARTIAL_RESULT = 1 << 6 [static]

Definition at line 37 of file DetourStatus.h.

const unsigned int DT_STATUS_DETAIL_MASK = 0x0ffffff [static]

Definition at line 30 of file DetourStatus.h.

const unsigned int DT_SUCCESS = 1u << 30 [static]

Definition at line 26 of file DetourStatus.h.

const unsigned int DT_WRONG_MAGIC = 1 << 0 [static]

Definition at line 31 of file DetourStatus.h.

const unsigned int DT_WRONG_VERSION = 1 << 1 [static]

Definition at line 32 of file DetourStatus.h.