3 This file is part of gldbg
4 Copyright © 2009 Mikko Rasa, Mikkosoft Productions
5 Distributed under the GPL
11 #include "gldecoder.h"
17 GlDecoder *glprint_new(char *, unsigned);
18 char *glprint_get_buffer(GlDecoder *);
29 GlPrint(char *b, unsigned l): glp(glprint_new(b, l)) { }
30 ~GlPrint() { gldecoder_delete(glp); }
32 int decode(const char *d, unsigned l) { return gldecoder_decode(glp, d, l); }
33 char *get_buffer() { return glprint_get_buffer(glp); }