#49 Adding support for C++

This commit is contained in:
justinkim
2018-09-10 09:07:08 +09:00
parent 28e8a16b54
commit c69d27b875
23 changed files with 189 additions and 1 deletions

View File

@ -84,6 +84,9 @@
*/
#ifndef _SOCKET_H_
#define _SOCKET_H_
#ifdef __cplusplus
extern "C" {
#endif
#include "wizchip_conf.h"
@ -479,4 +482,8 @@ int8_t setsockopt(uint8_t sn, sockopt_type sotype, void* arg);
*/
int8_t getsockopt(uint8_t sn, sockopt_type sotype, void* arg);
#ifdef __cplusplus
}
#endif
#endif // _SOCKET_H_