From 6cf2e903091303de8487db6e8f83f840d89ad962 Mon Sep 17 00:00:00 2001 From: handa Date: Mon, 9 Jul 2007 01:52:40 +0000 Subject: [PATCH] Include m17n-core.h if not yet done. Use macros M17N_BEGIN_HEADER and M17N_END_HEADER. --- src/m17n.h | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) 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_ */ -- 1.7.10.4