OSVR-Core
Macros | Typedefs
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...

#include <osvr/Util/APIBaseC.h>
#include <osvr/Util/StdInt.h>

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. More...
 

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