-LY_DEFINE (ly_translator_property, "ly:translator-property",
- 2, 0, 0, (SCM translator, SCM sym),
- "Return the value of a value in translator @var{g} of property @var{sym}. "
- "It will return @code{' ()} (end-of-list) "
- "if @var{sym} is undefined in @var{g}."
- "\n\n")
-{
- Translator *sc = unsmob_translator (translator);
- SCM_ASSERT_TYPE (sc, translator, SCM_ARG1, __FUNCTION__, "translator");
- SCM_ASSERT_TYPE (scm_is_symbol (sym), sym, SCM_ARG2, __FUNCTION__, "symbol");
-
- return sc->internal_get_property (sym);
-}
-