add C++ compatibility.
This commit is contained in:
parent
4582bfbf11
commit
fc3c23502c
1 changed files with 9 additions and 0 deletions
|
@ -26,6 +26,10 @@
|
||||||
|
|
||||||
#include <nfc/nfc.h>
|
#include <nfc/nfc.h>
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif // __cplusplus
|
||||||
|
|
||||||
struct mifare_classic_tag;
|
struct mifare_classic_tag;
|
||||||
typedef struct mifare_classic_tag *MifareClassicTag;
|
typedef struct mifare_classic_tag *MifareClassicTag;
|
||||||
|
|
||||||
|
@ -97,4 +101,9 @@ void mifare_application_free (Mad mad, MadAid aid);
|
||||||
|
|
||||||
MifareSectorNumber *mifare_application_find (Mad mad, MadAid aid);
|
MifareSectorNumber *mifare_application_find (Mad mad, MadAid aid);
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif // __cplusplus
|
||||||
|
|
||||||
|
|
||||||
#endif /* !__FREEFARE_H__ */
|
#endif /* !__FREEFARE_H__ */
|
||||||
|
|
Loading…
Reference in a new issue