SysCheck-ModMii-Edition/include/gecko.h
2013-10-12 18:38:34 +00:00

30 lines
472 B
C

#ifndef _GECKO_H_
#define _GECKO_H_
#ifdef __cplusplus
extern "C" {
#endif
#ifndef NO_DEBUG
//use this just like printf();
void gprintf(const char *str, ...);
void gsenddata(const u8 *data, int length, const char *filename);
void ghexdump(void *d, int len);
bool InitGecko();
void printfBoth( const char *str, ... );
#else
#define gprintf(...)
#define gsenddata(...)
#define InitGecko() false
#endif /* NO_DEBUG */
#ifdef __cplusplus
}
#endif
#endif