]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/gdb.cc
* VERSION (MY_PATCH_LEVEL): make 1.7.0
[lilypond.git] / lily / gdb.cc
index e8f71657e4418ad57a121da57f960ab34d9100f2..e9bfd001dcbe9fd5d359d25547159ca62805b36e 100644 (file)
@@ -1,6 +1,8 @@
 #include "item.hh"
 #include "spanner.hh"
+#include "paper-column.hh"
 
+extern "C" {
 // thanks to GDBs wonderful casting abilities, we need these:
 Item*
 to_item (Grob* g)
@@ -12,3 +14,10 @@ to_spanner (Grob*g)
 {
   return dynamic_cast<Spanner*> (g);
 }
+
+Paper_column*
+to_pc (Grob* g)
+{
+  return dynamic_cast<Paper_column*> (g);
+}
+}