repo.or.cz
/
lilypond.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
lilypond-1.5.1
[lilypond.git]
/
lily
/
gdb.cc
blob
e8f71657e4418ad57a121da57f960ab34d9100f2
1
#include
"item.hh"
2
#include
"spanner.hh"
3
4
// thanks to GDBs wonderful casting abilities, we need these:
5
Item
*
6
to_item
(
Grob
*
g
)
7
{
8
return dynamic_cast
<
Item
*> (
g
);
9
}
10
Spanner
*
11
to_spanner
(
Grob
*
g
)
12
{
13
return dynamic_cast
<
Spanner
*> (
g
);
14
}