X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=flower%2Finclude%2Fmemory-stream.hh;h=1dffd7c98aebb8a1755438d820fe4afa6538ac19;hb=dd8a184cfb8065d987bc658f33647cc47ad2feaa;hp=ab8a183a6faf3ac1a6044a9f695053017f7fb7fa;hpb=5b4b0d6e9a197e8f9eb085b7c2ad78b8be3e5cfc;p=lilypond.git diff --git a/flower/include/memory-stream.hh b/flower/include/memory-stream.hh index ab8a183a6f..1dffd7c98a 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--2012 Han-Wen Nienhuys - (c) 2005--2008 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 ();