]> git.donarmstrong.com Git - lilypond.git/blob - lily/gdb.cc
* VERSION (MY_PATCH_LEVEL): make 1.7.0
[lilypond.git] / lily / gdb.cc
1 #include "item.hh"
2 #include "spanner.hh"
3 #include "paper-column.hh"
4
5 extern "C" {
6 // thanks to GDBs wonderful casting abilities, we need these:
7 Item*
8 to_item (Grob* g)
9 {
10   return dynamic_cast<Item*> (g);
11 }
12 Spanner*
13 to_spanner (Grob*g)
14 {
15   return dynamic_cast<Spanner*> (g);
16 }
17
18 Paper_column*
19 to_pc (Grob* g)
20 {
21   return dynamic_cast<Paper_column*> (g);
22 }
23 }