From e2515f6e1a7b17addda4c558a0a6ca05b4ec6e55 Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Mon, 22 Jun 2015 18:32:27 +0200 Subject: Keep C++ compilers happy --- pcilib/event.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'pcilib/event.h') diff --git a/pcilib/event.h b/pcilib/event.h index ca7c27f..d2b9793 100644 --- a/pcilib/event.h +++ b/pcilib/event.h @@ -89,8 +89,15 @@ typedef struct { int (*return_data)(pcilib_context_t *ctx, pcilib_event_id_t event_id, pcilib_event_data_type_t data_type, void *data); } pcilib_event_api_description_t; +#ifdef __cplusplus +extern "C" { +#endif int pcilib_init_event_engine(pcilib_t *ctx); +#ifdef __cplusplus +} +#endif + #endif /* _PCILIB_EVENT_H */ -- cgit v1.2.3