expressions): run lilypond on example too.
* flower/include/libc-extension.hh: move lrint define to
header. bugfix.
+2003-07-24 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+
+ * Documentation/user/internals.itely (Manipulating music
+ expressions): run lilypond on example too.
+
+ * flower/include/libc-extension.hh: move lrint define to
+ header. bugfix.
+
2003-07-24 Jan Nieuwenhuizen <janneke@gnu.org>
* stepmake/GNUmakefile.in (STEPMAKE_TEMPLATES):
An example is a function that reverses the order of elements in
its argument:
-@example
+@lilypond[verbatim,singleline]
#(define (rev-music-1 m)
(ly:set-music-property! 'elements (reverse
(ly:get-music-property mus 'elements)))
- )
- \apply #rev-music-1 @{ c4 d4 @}
-@end example
+ m)
+ \apply #rev-music-1 { c4 d4 }
+@end lilypond
The use of such a function is very limited. The effect of this
function is void when applied to an argument which is does not have
#endif
+
+#if ! HAVE_LRINT
+#define lrint(__x) ((long) (round (__x)))
+#endif
+
+
Byte *memrchr (Byte const * p, int n, char c);
Byte *strrev (Byte* byte, int length_i);
}
-#if ! HAVE_LRINT
-#define lrint(__x) ((long) (round (__x)
-#endif
-
#if !HAVE_ISINF
int
#include "staff-symbol-referencer.hh"
#include "staff-symbol.hh"
#include "paper-def.hh"
-
+#include "libc-extension.hh"
int