X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fpointer-group-interface.hh;h=356b29656cefb8f0e451cdd39cb2a2ecb97e16aa;hb=c39d188d28fdc84cef8cbaea7b8d6e2fb718c30f;hp=4d1a96aedef0ce5d450809f1cc6848a79c925c1c;hpb=55ac733b69643a6bc6a83b706c65cb56efd388ef;p=lilypond.git diff --git a/lily/include/pointer-group-interface.hh b/lily/include/pointer-group-interface.hh index 4d1a96aede..356b29656c 100644 --- a/lily/include/pointer-group-interface.hh +++ b/lily/include/pointer-group-interface.hh @@ -1,7 +1,7 @@ /* This file is part of LilyPond, the GNU music typesetter. - Copyright (C) 2005--2011 Han-Wen Nienhuys + Copyright (C) 2005--2014 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 @@ -32,12 +32,12 @@ public: static void add_grob (Grob *, SCM nm, SCM x); static void add_unordered_grob (Grob *, SCM nm, Grob *); static void set_ordered (Grob *, SCM, bool); - static Grob_array *get_grob_array (Grob*, SCM); - static Grob *find_grob (Grob*, SCM, bool (*pred) (Grob*)); + static Grob_array *get_grob_array (Grob *, SCM); + static Grob *find_grob (Grob *, SCM, bool (*pred) (Grob *)); }; -vector const &internal_extract_grob_array (Grob const *elt, SCM symbol); -vector internal_extract_item_array (Grob const *elt, SCM symbol); +vector const &internal_extract_grob_array (Grob const *elt, SCM symbol); +vector internal_extract_item_array (Grob const *elt, SCM symbol); #define extract_grob_array(x, prop) internal_extract_grob_array (x, ly_symbol2scm (prop)) #define extract_item_array(x, prop) internal_extract_item_array (x, ly_symbol2scm (prop)) @@ -46,9 +46,9 @@ vector internal_extract_item_array (Grob const *elt, SCM symbol); This is dubious coding style, but lets not risk that we change the representation of grob sets again. */ -#define extract_grob_set(grob, prop, set) \ +#define extract_grob_set(grob, prop, set) \ vector const &set (internal_extract_grob_array (grob, ly_symbol2scm (prop))) -#define extract_item_set(grob, prop, set) \ +#define extract_item_set(grob, prop, set) \ vector set (internal_extract_item_array (grob, ly_symbol2scm (prop))) #endif /* POINTER_GROUP_INTERFACE_HH */