OSVR-Core
ReturnCodesC.h File Reference

Header declaring a type and values for simple C return codes. More...

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

Go to the source code of this file.

Return Codes

#define OSVR_RETURN_SUCCESS   (0)
 The "success" value for an OSVR_ReturnCode.
 
#define OSVR_RETURN_FAILURE   (1)
 The "failure" value for an OSVR_ReturnCode.
 
typedef OSVR_RETURN_SUCCESS_CONDITION (return==OSVR_RETURN_SUCCESS) char OSVR_ReturnCode
 Return type from C API OSVR functions. More...
 

Detailed Description

Header declaring a type and values for simple C return codes.

Must be c-safe!

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