OSDN Git Service

externCの追加
[mimic/MiMicSDK.git] / lib / src / uip / NyLPC_cUipService.h
index 9489fca..ab4b72c 100644 (file)
 #define NyLPC_TcUipService_H_\r
 \r
 \r
-\r
 /**********************************************************************\r
  * Heder files
  **********************************************************************/\r
-/**\r
- * uipタスクを管理する、サービスクラスです。\r
- */\r
-typedef struct NyLPC_TcUipService NyLPC_TcUipService_t;\r
-\r
 \r
 #include "NyLPC_uipService.h"\r
 #include "NyLPC_cIPv4IComp_protected.h"\r
@@ -72,13 +66,19 @@ typedef struct NyLPC_TcUipService NyLPC_TcUipService_t;
 #include "NyLPC_cIPv4IComp.h"\r
 #include "NyLPC_cIPv4.h"\r
 \r
+#ifdef __cplusplus\r
+extern "C" {\r
+#endif /* __cplusplus */\r
 \r
 /**********************************************************************\r
  *\r
  * NyLPC_TcUipService class\r
  *\r
  **********************************************************************/\r
-\r
+/**\r
+ * uipタスクを管理する、サービスクラスです。\r
+ */\r
+typedef struct NyLPC_TcUipService NyLPC_TcUipService_t;\r
 \r
 \r
 /** サービスタスクスタックサイズ*/\r
@@ -119,4 +119,8 @@ void NyLPC_cUipService_stop(void);
  */\r
 const char*  NyLPC_cUipService_refDeviceName(void);\r
 \r
+#ifdef __cplusplus\r
+}\r
+#endif /* __cplusplus */\r
+\r
 #endif\r