add C++ guards
This commit is contained in:
@@ -3,6 +3,11 @@
|
||||
|
||||
#include "timers.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
|
||||
#define MUX_EV_READ (1U << 0x00)
|
||||
#define MUX_EV_WRITE (1U << 0x01)
|
||||
//#define MUX_EV_EXCEPT (1 << 0x02)
|
||||
@@ -100,5 +105,9 @@ int iomux_update_events(struct IOMux *mux, struct IOMuxFD *fd);
|
||||
*/
|
||||
struct UCTimers *iomux_get_timers(struct IOMux *mux);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user