2 Make a symbolic link to ${blddir}/src/config.h in this directory and do:
4 gcc -shared -fPIC -Demacs -DHAVE_CONFIG_H -I. \
5 -I/home/xemacs/xemacs-20.0/src -g dltest.c -o dltest
10 # include "emacsfns.h"
12 Lisp_Object Qdltest_counter;
14 DEFUN ("dltest", Fdltest, 0, 0, 0, /*
19 Qdltest_counter = make_int(XINT(Qdltest_counter) + 1);
21 return Qdltest_counter;
27 DEFVAR_LISP("dltest-counter", &Qdltest_counter /*
31 printf("Ten = %d\n", 10);
33 Qdltest_counter = make_int(10);