void
Context::check_removal ()
{
- for (SCM p = context_list_; scm_is_pair (p); p = scm_cdr (p))
+ for (SCM p = context_list_; scm_is_pair (p); p = ly_cdr (p))
{
- Context *trg = unsmob_context (scm_car (p));
+ Context *trg = unsmob_context (ly_car (p));
trg->check_removal ();
if (trg->is_removable ())
Context::default_child_context_name () const
{
return scm_is_pair (accepts_list_)
- ? scm_car (scm_last_pair (accepts_list_))
+ ? ly_car (scm_last_pair (accepts_list_))
: SCM_EOL;
}
Context * found = 0;
for (SCM s = where->children_contexts ();
- !found && scm_is_pair (s); s = scm_cdr (s))
+ !found && scm_is_pair (s); s = ly_cdr (s))
{
- Context * tr = unsmob_context (scm_car (s));
+ Context * tr = unsmob_context (ly_car (s));
found = find_context_below (tr, type, id);
}
int
Context::print_smob (SCM s, SCM port, scm_print_state *)
{
- Context *sc = (Context *) scm_cdr (s);
+ Context *sc = (Context *) ly_cdr (s);
scm_puts ("#<", port);
scm_puts (classname (sc), port);