2011-09-19 18:05:40 +08:00
|
|
|
#ifndef __CC_PLATFORMFUNC_BADA_H__
|
|
|
|
#define __CC_PLATFORMFUNC_BADA_H__
|
|
|
|
|
2011-11-18 18:45:05 +08:00
|
|
|
#include "CCPlatformMacros.h"
|
|
|
|
|
2011-09-19 18:05:40 +08:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2011-11-10 16:44:58 +08:00
|
|
|
#ifndef CC_BADA_2_0
|
|
|
|
|
2011-09-19 18:05:40 +08:00
|
|
|
#define printf(...) AppLog(__VA_ARGS__)
|
|
|
|
|
2011-11-18 18:45:05 +08:00
|
|
|
extern int CC_DLL sprintf(char* buf, const char *format, ...);
|
|
|
|
extern int CC_DLL sscanf (const char *s,const char *format, ...);
|
2011-09-19 18:05:40 +08:00
|
|
|
|
2011-11-10 16:44:58 +08:00
|
|
|
#endif
|
|
|
|
|
2011-11-18 18:45:05 +08:00
|
|
|
extern void CC_DLL badaAssert(const char* pFunction, int lineNumber, const char* pszContent);
|
2011-11-10 16:44:58 +08:00
|
|
|
|
2011-09-19 18:05:40 +08:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif /* __CC_PLATFORMFUNC_BADA_H__ */
|