/** * @file debug.c * @author myusgun * @version 0.1 */ #include "cf_file.h" #include "cf_debug.h" #include void callee (void) { CF_DEBUG_BEGIN_FUNCTION; CF_Debug_PrintCallStack (stdout); CF_DEBUG_END_FUNCTION; } int main (void) { char data[] = "【 曲名 : 사랑하고 있는데 】\n" "《 歌 : Kylee 》\n" "『 절원의 템페스트 OP2 Theme 』\n"; CF_DEBUG_BEGIN_FUNCTION; CF_DEBUG_PRINT (stderr, "print message with context to stderr\n"); CF_DEBUG_PRINT_BIN (stdout, (unsigned char *) data, (int) sizeof (data), "hehehehe\n"); callee (); CF_DEBUG_END_FUNCTION; return 0; }