X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=flower%2Finclude%2Farithmetic-operator.hh;h=a1d6c6d3a3ddccb9f6c05f36c6e0223e8c9276f9;hb=27b1197f3bae8512c14d946752cd3e40e7c76016;hp=6b95340495ac97d4d4e7684d9d0b791569e71949;hpb=c3e003dacb5689ffe384d3a2f2d5dc2afb9439bb;p=lilypond.git diff --git a/flower/include/arithmetic-operator.hh b/flower/include/arithmetic-operator.hh index 6b95340495..a1d6c6d3a3 100644 --- a/flower/include/arithmetic-operator.hh +++ b/flower/include/arithmetic-operator.hh @@ -1,22 +1,32 @@ -/* - arithmetic-operator.hh -- declare - - source file of the Flower Library - - (c) 1997 Han-Wen Nienhuys - - */ +/* + This file is part of LilyPond, the GNU music typesetter. + + Copyright (C) 1997--2011 Han-Wen Nienhuys + + LilyPond is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + LilyPond is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with LilyPond. If not, see . +*/ #ifndef ARITHMETIC_OPERATOR_HH #define ARITHMETIC_OPERATOR_HH -#define IMPLEMENT_ARITHMETIC_OPERATOR(type, op) \ -inline type \ -operator op (type a1, type const& a2) \ -{ \ - a1 op ## = a2; \ - return a1; \ -} +#define IMPLEMENT_ARITHMETIC_OPERATOR(type, op) \ + inline type \ + operator op (type a1, type const &a2) \ + { \ + a1 op ## = a2; \ + return a1; \ + } #endif /* ARITHMETIC_OPERATOR_HH */