#include #include #include "struct.h" #include "new.h" struct wcistream* new_wcistream( const struct wcistream_inheritance* inheritance, size_t alloc_size) { ENTER; struct wcistream* this = smalloc(alloc_size); this->inheritance = inheritance; this->wc = 0; this->refcount = 1; EXIT; return this; }