* pairs.h, eval.c, eval.h, feature.c, gc.c, list.c, load.c,

ramap.c, symbols.c: Added new selectors SCM_CARLOC and SCM_CDRLOC
for obtaining the address of a car or cdr field.  Motivation:
&SCM_CXR make assumptions about the internal structure of the
SCM_CXR selectors.

* alist.c, arbiters.c, continuations.c, debug.c, debug.h, eval.c,
eval.h, feature.c, filesys.c, fports.c, gc.c, gsubr.c, init.c,
ioext.c, kw.c, list.c, load.c, mallocs.c, numbers.c, numbers.h,
pairs.c, pairs.h, ports.c, ports.h, posix.c, procprop.c, procs.c,
procs.h, ramap.c, read.c, root.c, srcprop.c, srcprop.h,
strports.c, symbols.c, tags.h, throw.c, unif.c, variable.c,
vports.c: Cleaned up use of pairs: Don't make any special
assumptions about the internal structure of selectors and
mutators: SCM_CXR (<e1>) = <e2> --> SCM_SETCXR (<e1>, <e2>),
SCM_CXR (<e1>) &= <e2> --> SCM_SETAND_CXR (<e1>, <e2>) etc.
(Among other things, this change makes it easier to build Guile
with certain compilers which have problems with casted lvalues.)
This commit is contained in:
Mikael Djurfeldt 1996-10-20 03:29:38 +00:00
commit 25d8012c77
5 changed files with 18 additions and 18 deletions

View file

@ -221,7 +221,7 @@ scm_primitive_load_path (filename, case_insensitive_p, sharp)
void
scm_init_load ()
{
scm_loc_load_path = &SCM_CDR(scm_sysintern("%load-path", SCM_EOL));
scm_loc_load_path = SCM_CDRLOC(scm_sysintern("%load-path", SCM_EOL));
#include "load.x"
}