|
Make GET_LISTENER take a pointer arg and deduce its type
Instead of
Context *p;
[...]
Listener l = p->GET_LISTENER (Context, somecallback);
this now uses
Context *p;
[...]
Listener l = GET_LISTENER (p, somecallback);
This removes the necessity for providing the somewhat awkward type
argument.
Total comments: 1
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+118 lines, -68 lines) |
Patch |
|
M |
lily/context.cc
|
View
|
1
2
3
|
4 chunks |
+8 lines, -7 lines |
0 comments
|
Download
|
|
M |
lily/dispatcher.cc
|
View
|
|
4 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
lily/engraver-group.cc
|
View
|
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
lily/global-context.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
lily/grace-engraver.cc
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
lily/include/callback.hh
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+50 lines, -0 lines |
0 comments
|
Download
|
|
M |
lily/include/context.hh
|
View
|
1
2
3
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
lily/include/listener.hh
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+26 lines, -15 lines |
0 comments
|
Download
|
|
M |
lily/include/paper-column-engraver.hh
|
View
|
1
2
3
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
lily/include/smobs.hh
|
View
|
1
2
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
lily/include/translator-group.hh
|
View
|
1
2
3
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
lily/lyric-combine-music-iterator.cc
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
lily/midi-cc-performer.cc
|
View
|
1
|
2 chunks |
+2 lines, -4 lines |
0 comments
|
Download
|
|
M |
lily/score-engraver.cc
|
View
|
|
2 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
|
M |
lily/score-performer.cc
|
View
|
|
1 chunk |
+6 lines, -6 lines |
0 comments
|
Download
|
|
M |
lily/smobs.cc
|
View
|
1
2
|
1 chunk |
+0 lines, -7 lines |
0 comments
|
Download
|
|
M |
lily/translator.cc
|
View
|
1
2
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
lily/translator-group.cc
|
View
|
1
2
3
|
3 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
Total messages: 20
|