Closed bulletmark closed 11 years ago
A new player on the RPi forums complained that his CPP program was not linking against the piface functions. It would be easier for most if CPP wrappers were placed within piface.h:
extern "C" {
<existing piface.h body>
}
A new player on the RPi forums complained that his CPP program was not linking against the piface functions. It would be easier for most if CPP wrappers were placed within piface.h:
ifdef __cplusplus
extern "C" {
endif
ifdef __cplusplus
}
endif