X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=flower%2Finclude%2Fmemory-stream.hh;h=2cce5986b58a0f7e93c7b32c93c663bd4a120a1a;hb=98b662a091d78893004ee5f7cf4f7e9a6d811f57;hp=8cfab27b2a0275816ddf6aebfa3990e5544bcc1a;hpb=75eebcb49e52d296b1da3e1074e0825d2c780db4;p=lilypond.git diff --git a/flower/include/memory-stream.hh b/flower/include/memory-stream.hh index 8cfab27b2a..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--2006 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 ();