From: handa Date: Wed, 30 Jun 2004 03:36:08 +0000 (+0000) Subject: * m17n-gui.h (M17N_INIT_X, M17N_INIT_GD): New macros. X-Git-Tag: REL-1-1-0~138 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=df8b34a942e1d2151972ca2cb7bfce0452a86531;p=m17n%2Fm17n-lib.git * m17n-gui.h (M17N_INIT_X, M17N_INIT_GD): New macros. (m17n_init_win): Adjust prototype. * m17n-X.h: Include . (m17n_init_X): Extern it. (M17N_INIT): Redefine it. --- diff --git a/src/m17n-gui.h b/src/m17n-gui.h index 0fc0c2f..ce2f597 100644 --- a/src/m17n-gui.h +++ b/src/m17n-gui.h @@ -32,7 +32,10 @@ extern "C" { #endif -extern void m17n_init_win (void); +#define M17N_INIT_X() 1 +#define M17N_INIT_GD() 1 + +extern int m17n_init_win (void); #undef M17N_INIT #define M17N_INIT() m17n_init_win ()