comments added

This commit is contained in:
h_vogt 2009-08-15 09:55:44 +00:00
parent 878e471232
commit ae4db4fe25
1 changed files with 7 additions and 6 deletions

View File

@ -166,8 +166,8 @@ ft_cpinit(void)
cp_vset("noglob", VT_BOOL, (char *) &t); cp_vset("noglob", VT_BOOL, (char *) &t);
cp_vset("brief", VT_BOOL, (char *) &t); cp_vset("brief", VT_BOOL, (char *) &t);
/* Now do a bunch of things that used to be in the spiceinit file /* Make vectors from values in predefs[] for the current plot.
* but were too slow to read in... Define functions from entries in udfs[] (like user defined functions).
*/ */
wl1.wl_next = &wl2; wl1.wl_next = &wl2;
wl1.wl_prev = NULL; wl1.wl_prev = NULL;
@ -307,16 +307,17 @@ cp_istrue(wordlist *wl)
return (FALSE); return (FALSE);
} }
/* This gets called before every command is executed... */ /* This gets called before every command is executed...
from fcns do_command() or do_block() in control.c */
void void
cp_periodic(void) cp_periodic(void)
{ {
ft_setflag = FALSE; ft_setflag = FALSE;
ft_intrpt = FALSE; ft_intrpt = FALSE;
ft_ckspace(); ft_ckspace(); /* check for max. data size (resource.c) */
ft_checkkids(); ft_checkkids(); /* check for jobs (only if OK_ASPICE is defined, apsice.c) */
vec_gc(); vec_gc(); /* remove vectors which do not have permanent flag set (vectors.c) */
return; return;
} }