34 lines
502 B
C
34 lines
502 B
C
|
|
#include <assert.h>
|
|
#include <fcntl.h>
|
|
|
|
#include <debug.h>
|
|
|
|
#include "../new.h"
|
|
|
|
#include "inheritance.h"
|
|
#include "struct.h"
|
|
#include "new.h"
|
|
|
|
struct wcistream* new_string_wcistream(
|
|
const wchar_t* input_string)
|
|
{
|
|
ENTER;
|
|
|
|
dpvp(input_string);
|
|
|
|
assert(input_string);
|
|
|
|
struct string_wcistream* this = (void*) new_wcistream(
|
|
&string_wcistream_inheritance,
|
|
sizeof(*this));
|
|
|
|
this->moving = input_string;
|
|
|
|
EXIT;
|
|
return (void*) this;
|
|
}
|
|
|
|
|
|
|
|
|