comparison src/mule-wnnfns.c @ 398:74fd4e045ea6 r21-2-29

Import from CVS: tag r21-2-29
author cvs
date Mon, 13 Aug 2007 11:13:30 +0200
parents 8626e4521993
children de805c49cfc1
comparison
equal deleted inserted replaced
397:f4aeb21a5bad 398:74fd4e045ea6
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)
1879 {
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
1878 vars_of_mule_wnn (void) 1891 vars_of_mule_wnn (void)
1879 { 1892 {
1880 int i; 1893 reinit_vars_of_mule_wnn ();
1881 1894
1882 DEFVAR_INT ("lb-sisheng", &lb_sisheng /* 1895 DEFVAR_INT ("lb-sisheng", &lb_sisheng /*
1883 Leading character for Sisheng. 1896 Leading character for Sisheng.
1884 */ ); 1897 */ );
1885 DEFVAR_LISP ("wnn-server-type", &Vwnn_server_type /* 1898 DEFVAR_LISP ("wnn-server-type", &Vwnn_server_type /*
1898 Vwnn_server_type = Qjserver; 1911 Vwnn_server_type = Qjserver;
1899 Vcwnn_zhuyin = Qnil; 1912 Vcwnn_zhuyin = Qnil;
1900 Vwnnenv_sticky = Qnil; 1913 Vwnnenv_sticky = Qnil;
1901 1914
1902 Vwnn_uniq_level = Qwnn_uniq; 1915 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 }
1910 1916
1911 Fprovide(intern("wnn")); 1917 Fprovide(intern("wnn"));
1912 } 1918 }
1913 1919
1914 void 1920 void