source file of the GNU LilyPond music typesetter
- (c) 2004--2005 Han-Wen Nienhuys <hanwen@xs4all.nl>
+ (c) 2004--2006 Han-Wen Nienhuys <hanwen@xs4all.nl>
*/
#include "lilypond-key.hh"
void
Object_key::derived_mark () const
{
-
}
Object_key::~Object_key ()
int
Copied_key::do_compare (Object_key const *key) const
{
- Copied_key const *other = dynamic_cast < Copied_key const *> (key);
+ Copied_key const *other = dynamic_cast<Copied_key const *> (key);
int c = original_->compare (other->original_);
if (c)
SCM
Copied_key::as_scheme () const
{
- return scm_list_2 (original_ ? original_->self_scm () : SCM_BOOL_F, scm_from_int (copy_count_));
+ return scm_list_2 (original_
+ ? original_->self_scm ()
+ : SCM_BOOL_F, scm_from_int (copy_count_));
}
Object_key *
return new Copied_key (unsmob_key (scm_car (a)),
scm_to_int (scm_list_ref (a, scm_from_int (1))));
}
+