-#include "lily-guile.hh"
-
-
-LY_DEFINE (ly_translator_name, "ly:translator-name",
- 1, 0, 0, (SCM trans),
- "Return the type name of the translator object @var{trans}. "
- "The name is a symbol.")
-{
- Translator *tr = unsmob_translator (trans);
- SCM_ASSERT_TYPE (tr, trans, SCM_ARG1, __FUNCTION__, "Translator");
- char const *nm = classname (tr);
- return ly_symbol2scm (nm);
-}