The SGADE Documentation

the SGADE 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.


Main Page   Modules   Data Structures   File List   Data Fields   Globals   Related Pages  

SoDebugPrintf.c File Reference

#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.


Detailed Description

Copyright (C) 2002 by the SGADE authors For conditions of distribution and use, see copyright notice in SoLicense.txt

Author:
Gabriele Scibilia
Date:
July 1, 2003
See the SoDebug module for more information.


Copyright 2002 by the SGADE authors. See SoLicense.h or Visit the SGADE page for more information.