slaeshjag / libdarnit

General purpose gamedev library that initially targeted the OpenPandora handheld
http://w.rdw.se/libdarnit
9 stars 3 forks source link

Remove fprintf's used in error reporting #18

Open slaeshjag opened 12 years ago

slaeshjag commented 12 years ago

Spitting out errors to the terminal should not be done in the library automatically. Replace this with a last-errorcode cariable in the main struct and provide a errorcode -> string function, and possibly a print_last_error function.