comparison src/mule-wnnfns.c @ 412:697ef44129c6 r21-2-14

Import from CVS: tag r21-2-14
author cvs
date Mon, 13 Aug 2007 11:20:41 +0200
parents de805c49cfc1
children 11054d720c21
comparison
equal deleted inserted replaced
411:12e008d41344 412:697ef44129c6
1 /* -*- coding: iso-2022-jp -*- 1 /*
2 Copyright (C) 1995 Free Software Foundation, Inc. 2 Copyright (C) 1995 Free Software Foundation, Inc.
3 Copyright (C) 1995 Sun Microsystems, Inc. 3 Copyright (C) 1995 Sun Microsystems, Inc.
4 4
5 This file is part of XEmacs. 5 This file is part of XEmacs.
6 6
1873 defsymbol (&Qwnn_fuzokogo, "wnn_fuzokogo"); 1873 defsymbol (&Qwnn_fuzokogo, "wnn_fuzokogo");
1874 defsymbol (&Qwnn_kaikakko, "wnn_kaikakko"); 1874 defsymbol (&Qwnn_kaikakko, "wnn_kaikakko");
1875 } 1875 }
1876 1876
1877 void 1877 void
1878 reinit_vars_of_mule_wnn (void) 1878 vars_of_mule_wnn (void)
1879 { 1879 {
1880 int i; 1880 int i;
1881
1882 for (i = 0; i < NSERVER; i++)
1883 {
1884 wnnfns_buf[i] = (struct wnn_buf *) 0;
1885 wnnfns_env_norm[i] = (struct wnn_env *) 0;
1886 wnnfns_env_rev[i] = (struct wnn_env *) 0;
1887 }
1888 }
1889
1890 void
1891 vars_of_mule_wnn (void)
1892 {
1893 reinit_vars_of_mule_wnn ();
1894 1881
1895 DEFVAR_INT ("lb-sisheng", &lb_sisheng /* 1882 DEFVAR_INT ("lb-sisheng", &lb_sisheng /*
1896 Leading character for Sisheng. 1883 Leading character for Sisheng.
1897 */ ); 1884 */ );
1898 DEFVAR_LISP ("wnn-server-type", &Vwnn_server_type /* 1885 DEFVAR_LISP ("wnn-server-type", &Vwnn_server_type /*
1911 Vwnn_server_type = Qjserver; 1898 Vwnn_server_type = Qjserver;
1912 Vcwnn_zhuyin = Qnil; 1899 Vcwnn_zhuyin = Qnil;
1913 Vwnnenv_sticky = Qnil; 1900 Vwnnenv_sticky = Qnil;
1914 1901
1915 Vwnn_uniq_level = Qwnn_uniq; 1902 Vwnn_uniq_level = Qwnn_uniq;
1903
1904 for (i = 0; i < NSERVER; i++)
1905 {
1906 wnnfns_buf[i] = (struct wnn_buf *) 0;
1907 wnnfns_env_norm[i] = (struct wnn_env *) 0;
1908 wnnfns_env_rev[i] = (struct wnn_env *) 0;
1909 }
1916 1910
1917 Fprovide(intern("wnn")); 1911 Fprovide(intern("wnn"));
1918 } 1912 }
1919 1913
1920 void 1914 void