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