--- np2/x11/commng.h 2004/03/25 15:10:33 1.2 +++ np2/x11/commng.h 2011/01/15 19:16:58 1.4 @@ -1,10 +1,10 @@ -/* $Id: commng.h,v 1.2 2004/03/25 15:10:33 monaka Exp $ */ - #ifndef NP2_X11_COMMNG_H__ #define NP2_X11_COMMNG_H__ // ---- com manager interface +G_BEGIN_DECLS + enum { COMCREATE_SERIAL = 0, COMCREATE_PC9861K1, @@ -48,17 +48,9 @@ typedef struct { } _COMFLAG, *COMFLAG; -#ifdef __cplusplus -extern "C" { -#endif - COMMNG commng_create(UINT device); void commng_destroy(COMMNG hdl); -#ifdef __cplusplus -} -#endif - // ---- com manager for unix @@ -86,6 +78,8 @@ enum { void commng_initialize(void); +G_END_DECLS + #include "cmmidi.h" #include "cmserial.h" #include "cmpara.h"