Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1127)

Unified Diff: lily/grob-scheme.cc

Issue 137760043: Replace internal_get_property with get_property where possible (Closed)
Patch Set: fix memoization Created 9 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lily/grob.cc ('k') | lily/piano-pedal-engraver.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lily/grob-scheme.cc
diff --git a/lily/grob-scheme.cc b/lily/grob-scheme.cc
index a3c102d187f44f8cf128a2885e52b6ad78890ed0..065cc991d832d31aea83cd68a6da6d2659fca2a0 100644
--- a/lily/grob-scheme.cc
+++ b/lily/grob-scheme.cc
@@ -131,21 +131,21 @@ LY_DEFINE (ly_grob_property, "ly:grob-property",
" If no value is found, return @var{val} or @code{'()}"
" if @var{val} is not specified.")
{
Grob *sc = Grob::unsmob (grob);
LY_ASSERT_SMOB (Grob, grob, 1);
LY_ASSERT_TYPE (ly_is_symbol, sym, 2);
if (val == SCM_UNDEFINED)
val = SCM_EOL;
- SCM retval = sc->internal_get_property (sym);
+ SCM retval = sc->get_property (sym);
if (retval == SCM_EOL)
retval = val;
return retval;
}
LY_DEFINE (ly_grob_interfaces, "ly:grob-interfaces",
1, 0, 0, (SCM grob),
"Return the interfaces list of grob @var{grob}.")
{
« no previous file with comments | « lily/grob.cc ('k') | lily/piano-pedal-engraver.cc » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b