+LY_DEFINE (ly_output_def_set_variable_x, "ly:output-def-set-variable!",
+ 3, 0, 0, (SCM def, SCM sym, SCM val),
+ "Set an output definition @var{def} variable @var{sym} to @var{val}.")
+{
+ LY_ASSERT_SMOB (Output_def, def, 1);
+ Output_def *output_def = unsmob<Output_def> (def);
+ LY_ASSERT_TYPE (ly_is_symbol, sym, 2);
+ output_def->set_variable (sym, val);
+ return SCM_UNSPECIFIED;
+}
+