Mercurial > hg > xemacs-beta
view tests/DLL/dltest.c @ 952:c10d0c3f965f
[xemacs-hg @ 2002-08-02 16:54:11 by youngs]
2002-05-29 Katsumi Yamaoka <yamaoka@jpl.org>
* mule/japan-util.el (setup-japanese-environment-internal): Use
proper coding-systems.
2002-05-28 Katsumi Yamaoka <yamaoka@jpl.org>
* mule/japan-util.el: Use `characterp' instead of `integerp' while
defining char properties for katakana.
* mule/mule-category.el: Clear the category table before defining
categories for `predefined-category-list'.
* mule/mule-cmds.el (finish-set-language-environment): Fit the
charsets preferences in unicode conversions for the language
environment. Suggested by ARISAWA Akihiro <ari@mbf.sphere.ne.jp>.
author | youngs |
---|---|
date | Fri, 02 Aug 2002 16:54:25 +0000 |
parents | abe6d1db359e |
children |
line wrap: on
line source
/* Make a symbolic link to ${blddir}/src/config.h in this directory and do: gcc -shared -fPIC -Demacs -DHAVE_CONFIG_H -I. \ -I/home/xemacs/xemacs-20.0/src -g dltest.c -o dltest */ # include <config.h> # include "lisp.h" Lisp_Object Qdltest_counter; DEFUN ("dltest", Fdltest, 0, 0, 0, /* Simple test function. */ ()) { Qdltest_counter = make_int(XINT(Qdltest_counter) + 1); return Qdltest_counter; } void vars_of() { DEFVAR_LISP("dltest-counter", &Qdltest_counter /* counter. */ ); printf("Ten = %d\n", 10); Qdltest_counter = make_int(10); } void syms_of() { DEFSUBR(Fdltest); }