repo.or.cz
/
lilypond
/
mpolesky.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Make whole notes in solfa style the same width as half notes
[lilypond/mpolesky.git]
/
lily
/
gdb.cc
blob
d01961985252681729911af9c1f5e956183c507e
1
#include
"spanner.hh"
2
#include
"paper-column.hh"
3
4
extern
"C"
{
5
// thanks to GDBs wonderful casting abilities, we need these:
6
Item
*
7
to_item
(
Grob
*
g
)
8
{
9
return dynamic_cast
<
Item
*> (
g
);
10
}
11
Spanner
*
12
to_spanner
(
Grob
*
g
)
13
{
14
return dynamic_cast
<
Spanner
*> (
g
);
15
}
16
17
Paper_column
*
18
to_pc
(
Grob
*
g
)
19
{
20
return dynamic_cast
<
Paper_column
*> (
g
);
21
}
22
}