X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=flower%2Finclude%2Fmemory-stream.hh;h=2cce5986b58a0f7e93c7b32c93c663bd4a120a1a;hb=47db9a3883d726ca53e2133a3b2298f78dd6a32e;hp=699dea851490f5600558f01e4cf8d6e45f18076c;hpb=16cb456cabf477f6d398ff731aa0f10b60913394;p=lilypond.git diff --git a/flower/include/memory-stream.hh b/flower/include/memory-stream.hh index 699dea8514..2cce5986b5 100644 --- a/flower/include/memory-stream.hh +++ b/flower/include/memory-stream.hh @@ -1,9 +1,20 @@ /* - memory-stream.hh -- declare Memory_out_stream + This file is part of LilyPond, the GNU music typesetter. - source file of the GNU LilyPond music typesetter + Copyright (C) 2005--2015 Han-Wen Nienhuys - (c) 2005--2007 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 MEMORY_STREAM_HH @@ -29,8 +40,8 @@ class Memory_out_stream public: static ssize_t reader (void *, char *, size_t); static ssize_t writer (void *, char const *, size_t); - static int seeker (void *, off64_t *, int); - static int cleaner (void *); + static ssize_t seeker (void *, off64_t *, size_t); + static ssize_t cleaner (void *); Memory_out_stream (); ~Memory_out_stream ();