#include #include #include "struct.h" #include "new.h" struct istream* new_istream( const struct istream_inheritance* inheritance, size_t alloc_size) { ENTER; struct istream* this = smalloc(alloc_size); this->inheritance = inheritance; this->c = 0; this->refcount = 1; EXIT; return this; }