mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-19 13:18:32 +00:00
a/os: Add extern "C" to hid header
This commit is contained in:
parent
d969297c50
commit
0f2635a6eb
|
@ -13,6 +13,10 @@
|
||||||
#include "xrt/xrt_config.h"
|
#include "xrt/xrt_config.h"
|
||||||
#include "xrt/xrt_compiler.h"
|
#include "xrt/xrt_compiler.h"
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
* Representing a single hid interface on a device.
|
* Representing a single hid interface on a device.
|
||||||
|
@ -69,3 +73,7 @@ os_hid_destroy(struct os_hid_device *hid_dev)
|
||||||
int
|
int
|
||||||
os_hid_open_hidraw(const char *path, struct os_hid_device **out_hid);
|
os_hid_open_hidraw(const char *path, struct os_hid_device **out_hid);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
} // extern "C"
|
||||||
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue