/*
This file is part of LilyPond, the GNU music typesetter.
- Copyright (C) 2005--2009 Han-Wen Nienhuys <hanwen@xs4all.nl>
+ Copyright (C) 2005--2015 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
#define SIMPLE_CLOSURE_HH
#include "lily-guile.hh"
+#include "small-smobs.hh"
+
+class Simple_closure : public Smob1<Simple_closure>
+{
+public:
+ SCM expression() const { return scm1 (); }
+ int print_smob (SCM, scm_print_state *);
+ static const char type_p_name_[];
+};
-bool is_simple_closure (SCM s);
-SCM simple_closure_expression (SCM smob);
SCM evaluate_with_simple_closure (SCM delayed_argument, SCM expr, bool pure, int start, int end);
-SCM ly_make_simple_closure (SCM);
#endif /* SIMPLE_CLOSURE_HH */