3 This file is part of gldbg
4 Copyright © 2009 Mikko Rasa, Mikkosoft Productions
5 Distributed under the GPL
8 #include <msp/io/print.h>
15 glprint(new GlPrint(0, 16384)),
27 void Tracer::set_output(IO::Base *o)
35 void Tracer::set_output(IO::Base &o)
44 throw InvalidState("Output is not set");
48 void Tracer::disable()
53 int Tracer::decode(const char *data, unsigned len)
57 int ret = glprint->decode(data, len);
59 IO::print(*out, "%s\n", glprint->get_buffer());