Docs: Add new procedure for barNumberVisibility
[lilypond/mpolesky.git] / lily / gdb.cc
blobd01961985252681729911af9c1f5e956183c507e
1 #include "spanner.hh"
2 #include "paper-column.hh"
4 extern "C" {
5 // thanks to GDBs wonderful casting abilities, we need these:
6 Item *
7 to_item (Grob *g)
9 return dynamic_cast<Item *> (g);
11 Spanner *
12 to_spanner (Grob *g)
14 return dynamic_cast<Spanner *> (g);
17 Paper_column *
18 to_pc (Grob *g)
20 return dynamic_cast<Paper_column *> (g);