OSVR-Core  0.6-1962-g59773924
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
BoolC.h File Reference

Header providing a C-safe "bool" type, because we can't depend on Visual Studio providing proper C99 support in external-facing APIs. More...

Go to the source code of this file.

Macros

#define OSVR_TRUE   (1)
 Canonical "true" value for OSVR_CBool.
 
#define OSVR_FALSE   (0)
 Canonical "false" value for OSVR_CBool.
 

Typedefs

typedef uint8_t OSVR_CBool
 A pre-C99-safe bool type. Canonical values for true and false are provided. Interpretation of other values is not defined.
 

Detailed Description

Header providing a C-safe "bool" type, because we can't depend on Visual Studio providing proper C99 support in external-facing APIs.

Must be c-safe!

Date
2015
Author
Sensics, Inc. http://sensics.com/osvr

Definition in file BoolC.h.