/*
This file is part of LilyPond, the GNU music typesetter.
- Copyright (C) 1999--2011 Han-Wen Nienhuys <hanwen@xs4all.nl>
+ Copyright (C) 1999--2015 Han-Wen Nienhuys <hanwen@xs4all.nl>
LilyPond is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Context_handle::up (Context *t)
{
outlet_ = t;
- t->iterator_count_++;
+ t->client_count_++;
}
void
Context_handle::down ()
{
- outlet_->iterator_count_--;
+ outlet_->client_count_--;
outlet_ = 0;
}
}
Context *
-Context_handle::get_outlet () const
+Context_handle::get_context () const
{
return outlet_;
int
Context_handle::get_count () const
{
- return outlet_->iterator_count_;
+ return outlet_->client_count_;
}