Interface to OpenHMD driver code.
More...
Go to the source code of this file.
Interface to OpenHMD driver code.
- Author
- Jakob Bornecrantz jakob.nosp@m.@col.nosp@m.labor.nosp@m.a.co.nosp@m.m
◆ OH_DEBUG
#define OH_DEBUG |
( |
|
c, |
|
|
|
... |
|
) |
| |
Value:do { \
if (c->print_debug) { \
fprintf(stderr, "%s - ", __func__); \
fprintf(stderr, __VA_ARGS__); \
fprintf(stderr, "\n"); \
} \
} while (false)
◆ OH_ERROR
#define OH_ERROR |
( |
|
c, |
|
|
|
... |
|
) |
| |
Value:do { \
fprintf(stderr, "%s - ", __func__); \
fprintf(stderr, __VA_ARGS__); \
fprintf(stderr, "\n"); \
} while (false)
◆ OH_SPEW
#define OH_SPEW |
( |
|
c, |
|
|
|
... |
|
) |
| |
Value:do { \
if (c->print_spew) { \
fprintf(stderr, "%s - ", __func__); \
fprintf(stderr, __VA_ARGS__); \
fprintf(stderr, "\n"); \
} \
} while (false)
◆ ohmd_context
◆ ohmd_device
◆ oh_device_create()