projects
/
chise
/
xemacs-chise.git-
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
(CHAR_TO_CHARC): New inline function.
[chise/xemacs-chise.git-]
/
src
/
mule-wnnfns.c
diff --git
a/src/mule-wnnfns.c
b/src/mule-wnnfns.c
index
9f16e8c
..
50d2840
100644
(file)
--- a/
src/mule-wnnfns.c
+++ b/
src/mule-wnnfns.c
@@
-1875,10
+1875,23
@@
syms_of_mule_wnn (void)
}
void
}
void
-vars_of_mule_wnn (void)
+reinit_vars_of_mule_wnn (void)
{
int i;
{
int i;
+ for (i = 0; i < NSERVER; i++)
+ {
+ wnnfns_buf[i] = (struct wnn_buf *) 0;
+ wnnfns_env_norm[i] = (struct wnn_env *) 0;
+ wnnfns_env_rev[i] = (struct wnn_env *) 0;
+ }
+}
+
+void
+vars_of_mule_wnn (void)
+{
+ reinit_vars_of_mule_wnn ();
+
DEFVAR_INT ("lb-sisheng", &lb_sisheng /*
Leading character for Sisheng.
*/ );
DEFVAR_INT ("lb-sisheng", &lb_sisheng /*
Leading character for Sisheng.
*/ );
@@
-1901,13
+1914,6
@@
Leading character for Sisheng.
Vwnn_uniq_level = Qwnn_uniq;
Vwnn_uniq_level = Qwnn_uniq;
- for (i = 0; i < NSERVER; i++)
- {
- wnnfns_buf[i] = (struct wnn_buf *) 0;
- wnnfns_env_norm[i] = (struct wnn_env *) 0;
- wnnfns_env_rev[i] = (struct wnn_env *) 0;
- }
-
Fprovide(intern("wnn"));
}
Fprovide(intern("wnn"));
}