]> git.donarmstrong.com Git - lilypond.git/blob - lily/template5.cc
* configure.in: Test for and accept lmodern if EC fonts not found.
[lilypond.git] / lily / template5.cc
1 /*
2   template5.cc -- instantiate Intervals
3
4   source file of the GNU LilyPond music typesetter
5
6   (c) 1997--2004 Han-Wen Nienhuys <hanwen@cs.uu.nl>
7 */
8
9 #include "moment.hh"
10
11 #include "interval.tcc"
12
13 Rational
14 Interval_t<Rational>::infinity ()
15 {
16   Rational infty;
17   infty.set_infinite (1);
18   return infty;
19 }
20
21 String
22 Interval_t<Rational>::T_to_string (Rational a)
23 {
24   return a.to_string ();
25 }
26
27
28
29 template INTERVAL__INSTANTIATE (Rational);