add C++ compatibility.

This commit is contained in:
Romuald Conty 2010-01-06 23:40:30 +00:00
parent 4582bfbf11
commit fc3c23502c

View file

@ -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__ */