lilypond-1.3.69
[lilypond.git] / lily / gdb.cc
blob9404eb1c691a3e30cab41552891ee57ad046b100
1 #include "item.hh"
2 #include "spanner.hh"
4 // thanks to GDBs wonderful casting abilities, we need these:
5 Item*
6 to_item (Score_element* g)
8 return dynamic_cast<Item*>(g);
10 Spanner*
11 to_spanner (Score_element*g)
13 return dynamic_cast<Spanner*>(g);