mirror of
https://github.com/modmii/SysCheck-ModMii-Edition.git
synced 2024-11-04 15:55:05 +01:00
30 lines
472 B
C
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
|