The Socrates Gameboy Advance Development Engine
The SGADE is a development library for the Nintendo Gameboy
Advance. It's free for all uses and is distributed without guarantees.
For more information visit
the SGADE page.
#include "SoDebug.h"Defines | |
| #define | tolower(c) |
| #define | toupper(c) |
| #define | is_digit(c) |
| #define | isdigit(c) |
| #define | isxdigit(c) |
| #define | islower(c) |
| #define | ZEROPAD |
| #define | SIGN |
| #define | PLUS |
| #define | SPACE |
| #define | LEFT |
| #define | SPECIAL |
| #define | LARGE |
| #define | do_div(n, base) |
Functions | |
| u16 | dstrnlen (const u8 *str, u16 count) |
| debug helper: string length | |
| int | skip_atoi (const char **s) |
| char * | number (char *str, long num, int base, int size, int precision, int type) |
| int | dvsprintf (char *buf, const char *fmt, va_list args) |
| vsprintf function to support debugging | |
| int | dsprintf (char *buf, const char *fmt,...) |
| sprintf function to support debugging | |
| void | SoDebugPrintf (const char *a_Format,...) |
| Print formatted output;. | |
Variables | |
| char | s_DebugBuffer [256] |
| Internal use only. Used by the formatted print. | |