]> git.donarmstrong.com Git - lilypond.git/commitdiff
simple-spacer.cc: we were missing an implementation of Simple_spacer
authorDavid Kastrup <dak@gnu.org>
Sun, 7 Aug 2011 15:46:25 +0000 (17:46 +0200)
committerDavid Kastrup <dak@gnu.org>
Sun, 7 Aug 2011 15:46:25 +0000 (17:46 +0200)
lily/simple-spacer.cc

index 10d49b83d9f44b73731238e7d3ee4cb05775dd65..4644ad7c4b952a98b7d17c567b7eae321ef09c45 100644 (file)
@@ -523,3 +523,22 @@ get_line_configuration (vector<Grob *> const &columns,
   return ret;
 }
 
+
+#include "ly-smobs.icc"
+
+IMPLEMENT_SIMPLE_SMOBS (Simple_spacer);
+IMPLEMENT_DEFAULT_EQUAL_P (Simple_spacer);
+
+SCM
+Simple_spacer::mark_smob (SCM /* x */)
+{
+  return SCM_EOL;
+}
+
+int
+Simple_spacer::print_smob (SCM /* x */, SCM p, scm_print_state *)
+{
+  scm_puts ("#<Simple spacer>", p);
+  return 1;
+}
+