X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=src%2Fm17n.c;h=952ad55925d2d5052c2570e03728db197e884935;hb=ef71335ceb286b3669919046ebccfbdf8cea9819;hp=8c7c14d216b8f4beacf837bbe5040db678179ca1;hpb=56eff087d97d875fdd34eec672a377f7a9d4ef22;p=m17n%2Fm17n-lib.git diff --git a/src/m17n.c b/src/m17n.c index 8c7c14d..952ad55 100644 --- a/src/m17n.c +++ b/src/m17n.c @@ -17,7 +17,7 @@ You should have received a copy of the GNU Lesser General Public License along with the m17n library; if not, write to the Free - Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA + Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 02111-1307, USA. */ #include @@ -29,6 +29,8 @@ #include "charset.h" #include "coding.h" +#if !defined (FOR_DOXYGEN) || defined (DOXYGEN_INTERNAL_MODULE) + /* Internal API */ @@ -40,6 +42,7 @@ m17n_init (void) { int mdebug_mask = MDEBUG_INIT; + merror_code = MERROR_NONE; if (m17n__shell_initialized++) return; m17n_init_core (); @@ -95,26 +98,28 @@ m17n_fini (void) MDEBUG_PUSH_TIME (); MDEBUG_PUSH_TIME (); - MDEBUG_PRINT_TIME ("FINI", (stderr, " to finalize input module.")); minput__fini (); - MDEBUG_PRINT_TIME ("FINI", (stderr, " to finalize locale module.")); + MDEBUG_PRINT_TIME ("FINI", (stderr, " to finalize input module.")); mlocale__fini (); - MDEBUG_PRINT_TIME ("FINI", (stderr, " to finalize language module.")); + MDEBUG_PRINT_TIME ("FINI", (stderr, " to finalize locale module.")); mlang__fini (); - MDEBUG_PRINT_TIME ("FINI", (stderr, " to finalize character module.")); + MDEBUG_PRINT_TIME ("FINI", (stderr, " to finalize language module.")); mchar__fini (); - MDEBUG_PRINT_TIME ("FINI", (stderr, " to finalize database module.")); + MDEBUG_PRINT_TIME ("FINI", (stderr, " to finalize character module.")); mdatabase__fini (); - MDEBUG_PRINT_TIME ("FINI", (stderr, " to finalize coding module.")); + MDEBUG_PRINT_TIME ("FINI", (stderr, " to finalize database module.")); mcoding__fini (); - MDEBUG_PRINT_TIME ("FINI", (stderr, " to finalize charset module.")); + MDEBUG_PRINT_TIME ("FINI", (stderr, " to finalize coding module.")); mcharset__fini (); + MDEBUG_PRINT_TIME ("FINI", (stderr, " to finalize charset module.")); MDEBUG_POP_TIME (); MDEBUG_PRINT_TIME ("FINI", (stderr, " to finalize the shell modules.")); MDEBUG_POP_TIME (); m17n_fini_core (); } +#endif /* !FOR_DOXYGEN || DOXYGEN_INTERNAL_MODULE */ + /* Local Variables: coding: euc-japan