2009-10-20 13:46:55 +02:00
|
|
|
|
2009-10-21 01:00:19 +02:00
|
|
|
|
|
|
|
#ifndef _GECKO_H_
|
|
|
|
#define _GECKO_H_
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
2009-10-20 13:46:55 +02:00
|
|
|
|
2009-11-01 00:23:27 +01:00
|
|
|
#ifndef NO_DEBUG
|
2010-02-09 11:59:55 +01:00
|
|
|
//use this just like printf();
|
|
|
|
void gprintf(const char *str, ...);
|
|
|
|
bool InitGecko();
|
2010-04-11 01:44:10 +02:00
|
|
|
void hexdump(void *d, int len);
|
2009-11-01 00:23:27 +01:00
|
|
|
#else
|
2010-02-09 11:59:55 +01:00
|
|
|
#define gprintf(...)
|
|
|
|
#define InitGecko() false
|
2009-11-01 00:23:27 +01:00
|
|
|
#endif /* NO_DEBUG */
|
|
|
|
|
|
|
|
|
2009-10-20 13:46:55 +02:00
|
|
|
|
2009-10-21 01:00:19 +02:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|