From: handa Date: Mon, 9 Jul 2007 01:52:40 +0000 (+0000) Subject: Include m17n-core.h if not yet done. Use macros X-Git-Tag: FLT-base~7 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6cf2e903091303de8487db6e8f83f840d89ad962;p=m17n%2Fm17n-lib.git Include m17n-core.h if not yet done. Use macros M17N_BEGIN_HEADER and M17N_END_HEADER. --- diff --git a/src/m17n.h b/src/m17n.h index a423a58..da3338b 100644 --- a/src/m17n.h +++ b/src/m17n.h @@ -31,10 +31,7 @@ #include #endif -#ifdef __cplusplus -extern "C" -{ -#endif +M17N_BEGIN_HEADER #if !defined (FOR_DOXYGEN) || defined (DOXYGEN_INTERNAL_MODULE) extern void m17n_init (void); @@ -1417,9 +1414,7 @@ extern int minput_set_variable (MSymbol language, MSymbol name, extern MInputMethod *mdebug_dump_im (MInputMethod *im, int indent); -#ifdef __cplusplus -} -#endif +M17N_END_HEADER #endif /* _M17N_H_ */