/*
This file is part of LilyPond, the GNU music typesetter.
- Copyright (C) 2005--2010 Han-Wen Nienhuys <hanwen@xs4all.nl>
+ Copyright (C) 2005--2011 Han-Wen Nienhuys <hanwen@xs4all.nl>
LilyPond is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
return SCM_UNSPECIFIED;
}
+
+LY_DEFINE (ly_outputter_module, "ly:outputter-module",
+ 1, 0, 0, (SCM outputter),
+ "Return output module of @var{outputter}.")
+{
+ LY_ASSERT_SMOB (Paper_outputter, outputter, 1);
+
+ Paper_outputter *po = unsmob_outputter (outputter);
+ return po->module ();
+}