-#include <assert.h>
+#include <cassert>
#include <cstdio>
+using namespace std;
#include "memory-stream.hh"
extern "C" {
- static bool
+ bool
is_memory_stream (void *foo)
{
Memory_out_stream *cookie = (Memory_out_stream *) foo;
buf[0] = (char) c;
return Memory_out_stream::writer (file, buf, 1);
}
-
} /* extern C */