add C++ compatibility in include/nfc/nfc-emulation.h

This commit is contained in:
Romuald Conty 2011-04-06 21:42:47 +00:00
parent 55495e1e97
commit ef92fc6a7b

View file

@ -23,6 +23,10 @@
#include <sys/types.h>
#include <nfc/nfc.h>
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
struct nfc_emulator;
struct nfc_emulation_state_machine;
@ -40,4 +44,9 @@ struct nfc_emulation_state_machine {
NFC_EXPORT int nfc_emulate_target (nfc_device_t* pnd, struct nfc_emulator *emulator);
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif /* __NFC_EMULATION_H__ */