]> git.donarmstrong.com Git - lilypond.git/blobdiff - flower/include/memory-stream.hh
* lily/tie-formatting-problem.cc (from_lv_ties): add heads for
[lilypond.git] / flower / include / memory-stream.hh
index 12d2607a3727cee2443c1174a05e786e9d7da689..8cfab27b2a0275816ddf6aebfa3990e5544bcc1a 100644 (file)
@@ -3,16 +3,18 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c) 2005 Han-Wen Nienhuys <hanwen@xs4all.nl>
+  (c) 2005--2006 Han-Wen Nienhuys <hanwen@xs4all.nl>
 */
 
 #ifndef MEMORY_STREAM_HH
 #define MEMORY_STREAM_HH
 
-#include <stdio.h>
+#include <cstdio>
 #include <unistd.h>
+using namespace std;
 
 #include "libc-extension.hh"
+#include "file-cookie.hh"
 
 class Memory_out_stream
 {
@@ -21,7 +23,7 @@ class Memory_out_stream
   int buffer_blocks_;
   FILE *file_;
 
-  static cookie_io_functions_t functions_;
+  static lily_cookie_io_functions_t functions_;
   static const int block_size_;
 
 public: