23 lines
315 B
C
23 lines
315 B
C
|
|
#include <assert.h>
|
|
|
|
#include <debug.h>
|
|
|
|
#include "inheritance.h"
|
|
#include "struct.h"
|
|
#include "read.h"
|
|
|
|
void istream_read(
|
|
struct istream* this)
|
|
{
|
|
ENTER;
|
|
|
|
assert(this);
|
|
assert(this->inheritance);
|
|
assert(this->inheritance->read);
|
|
|
|
(this->inheritance->read)(this);
|
|
|
|
EXIT;
|
|
}
|
|
|