add C++ compatibility in include/nfc/nfc-emulation.h
This commit is contained in:
parent
55495e1e97
commit
ef92fc6a7b
@ -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__ */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user