#include #include #include "struct.h" #include "new.h" struct ostream* new_ostream( const struct ostream_inheritance* inheritance, size_t alloc_size) { ENTER; struct ostream* this = smalloc(alloc_size); this->inheritance = inheritance; this->refcount = 1; EXIT; return this; }