Jun Furutani / libMiMic

Fork of libMiMic by Ryo Iizuka

Revision:
12:efe841863fc8
Parent:
3:0a94993be1f6
Child:
37:fc4b4fd6a649
diff -r c82a7b2899b0 -r efe841863fc8 core/net/NyLPC_cNet.h
--- a/core/net/NyLPC_cNet.h	Sat Apr 20 03:47:14 2013 +0000
+++ b/core/net/NyLPC_cNet.h	Sat Apr 20 05:03:57 2013 +0000
@@ -4,7 +4,9 @@
 #include "NyLPC_stdlib.h"
 #include "NyLPC_uipService.h"
 #include "NyLPC_cNetConfig.h"
-
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus */
 /**
  * クラス型を定義します。
  */
@@ -26,8 +28,7 @@
  */
 void NyLPC_cNet_initialize(NyLPC_TcNet_t* i_inst);
 
-#define NyLPC_cNet_finalize(inst) 
-
+#define NyLPC_cNet_finalize(inst)
 /**
  * 関数は、ネットワークアダプタの値を元にNyLPC_cMiMicEnv_PlatformName変数の値を更新します。
  * @param i_ref_config
@@ -35,5 +36,7 @@
  */
 void NyLPC_cNet_start(NyLPC_TcNet_t* i_inst,const NyLPC_TcNetConfig_t* i_ref_config);
 
-
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
 #endif /* NYLPC_CNET_H_ */