#49 Adding support for C++
This commit is contained in:
@ -212,6 +212,11 @@ int main(void)
|
||||
#ifndef __MQTT_INTERFACE_H_
|
||||
#define __MQTT_INTERFACE_H_
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern <EFBFBD><EFBFBD>C<EFBFBD><EFBFBD> {
|
||||
#endif
|
||||
|
||||
|
||||
/*
|
||||
* @brief MQTT MilliTimer handler
|
||||
* @note MUST BE register to your system 1m Tick timer handler
|
||||
@ -257,4 +262,8 @@ void w5x00_disconnect(Network*);
|
||||
void NewNetwork(Network* n, int sn);
|
||||
int ConnectNetwork(Network*, char*, int);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif //__MQTT_INTERFACE_H_
|
||||
|
Reference in New Issue
Block a user