]> git.donarmstrong.com Git - lilypond.git/blob - lily/gdb.cc
patch::: 1.3.9.hwn2
[lilypond.git] / lily / gdb.cc
1 #include "item.hh"
2 #include "spanner.hh"
3
4 // thanks to GDBs wonderful casting abilities, we need these:
5 Item*
6 to_item (Score_element* g)
7 {
8   return dynamic_cast<Item*>(g);
9 }
10 Spanner*
11 to_spanner (Score_element*g)
12 {
13   return dynamic_cast<Spanner*>(g);
14 }