ae1a1001c0d71a8407a3432ff9e2ba7dab59166b
[sbcl.git] / src / runtime / vars.h
1 /*
2  * This software is part of the SBCL system. See the README file for
3  * more information.
4  *
5  * This software is derived from the CMU CL system, which was
6  * written at Carnegie Mellon University and released into the
7  * public domain. The software is in the public domain and is
8  * provided with absolutely no warranty. See the COPYING and CREDITS
9  * files for more information.
10  */
11
12 /*
13  * $Header$
14  */
15
16 /* FIXME: I wonder what this stuff is for. A comment or two would be
17  * nice.. */
18
19 extern void flush_vars(void);
20 extern struct var *lookup_by_name(char *name);
21 extern struct var *lookup_by_obj(lispobj obj);
22 extern struct var *define_var(char *name, lispobj obj, boolean perm);
23 extern struct var *define_dynamic_var(char *name,
24                                       lispobj update_fn(struct var *var),
25                                       boolean perm);
26
27 extern char *var_name(struct var *var);
28 extern lispobj var_value(struct var *var);
29 extern long var_clock(struct var *var);
30 extern void var_setclock(struct var *var, long value);