mirror of https://github.com/nirenjan/libx52.git
Wrap public header in extern C
parent
531c92ecab
commit
f2ee9707cb
|
@ -15,6 +15,10 @@
|
|||
#include <time.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#ifndef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief Opaque structure used by libx52
|
||||
*/
|
||||
|
@ -309,4 +313,8 @@ int libx52_update(libx52_device *x52);
|
|||
*/
|
||||
int libx52_vendor_command(libx52_device *x52, uint16_t index, uint16_t value);
|
||||
|
||||
#ifndef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* !defined LIBX52_H */
|
||||
|
|
Loading…
Reference in New Issue