Source

pyGAP / game / engine / text / string.cpp

Full commit
#include "text/string.h"

#include <cstdio>

#include "formats/text.h"


namespace text {


String::String(::formats::text::String* str) : str_(str) {
}


void String::print() const {
    for (int i = 0; i < str_->data_size; ++i)
        printf("%lc", str_->data[i]);
}


} /* namespace text */