Changeset 119 in libcf for trunk/include/cf_debug.h
- Timestamp:
- 06/10/13 09:56:32 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/cf_debug.h
r116 r119 1 1 /** 2 * @file cf_debug.h3 * @author myusgun <myusgun@gmail.com>2 * \file cf_debug.h 3 * \author myusgun <myusgun@gmail.com> 4 4 * 5 * @brief 디버그 유틸5 * \brief 디버그 유틸 6 6 * 7 * @remarks7 * \remarks 8 8 * 디버그 함수를 직접 호출하지 않고 정의된 매크로를 사용하면, 9 9 * Preprocessor에 _DEBUG가 정의되어 있는 경우에 만 … … 11 11 * 디버그 메시지는 stdout 및 stderr 등의 파일 포인터 출력을 지원함 12 12 * 13 * @example debug.c13 * \example debug.c 14 14 */ 15 15 #ifndef __CF_DEBUG_H__ … … 31 31 * 디버그 메시지를 지정된 파일 포인터로 출력 32 32 * 33 & @param __fp 출력할 파일 포인터34 * @param __fmt 포맷 스트링35 * @param ... 가변 인자33 & \param __fp 출력할 파일 포인터 34 * \param __fmt 포맷 스트링 35 * \param ... 가변 인자 36 36 * 37 * @see CF_Debug_Print37 * \see CF_Debug_Print 38 38 */ 39 39 # define CF_DEBUG_PRINT(__fp,__fmt,...) \ … … 43 43 * 바이너리 데이터를 디버그 메시지와 함께 지정된 파일 포인터로 출력 44 44 * 45 & @param __fp 출력할 파일 포인터46 * @param __bin 바이너리 데이터47 * @param __len 바이너리 길이48 * @param __fmt 포맷 스트링49 * @param ... 가변 인자45 & \param __fp 출력할 파일 포인터 46 * \param __bin 바이너리 데이터 47 * \param __len 바이너리 길이 48 * \param __fmt 포맷 스트링 49 * \param ... 가변 인자 50 50 * 51 * @see CF_Debug_PrintBin51 * \see CF_Debug_PrintBin 52 52 */ 53 53 # define CF_DEBUG_PRINT_BIN(__fp,__bin,__len,__fmt,...) \ … … 57 57 * 디버깅 모듈 초기화 58 58 * 59 * @see CF_Debug_Initialize59 * \see CF_Debug_Initialize 60 60 */ 61 61 # define CF_DEBUG_INITIALIZE \ … … 65 65 * 디버깅 모듈 해제 66 66 * 67 * @see CF_Debug_Finalize67 * \see CF_Debug_Finalize 68 68 */ 69 69 # define CF_DEBUG_FINALIZE \ … … 73 73 * 함수에 진입 74 74 * 75 * @see CF_Debug_EnterFunction75 * \see CF_Debug_EnterFunction 76 76 */ 77 77 # define CF_DEBUG_BEGIN_FUNCTION \ … … 81 81 * 함수에서 리턴 82 82 * 83 * @see CF_Debug_LeaveFunction83 * \see CF_Debug_LeaveFunction 84 84 */ 85 85 # define CF_DEBUG_END_FUNCTION \ … … 89 89 * 콜스택 을 지정된 파일 포인터로 출력 90 90 * 91 * @see CF_Debug_PrintCallStack91 * \see CF_Debug_PrintCallStack 92 92 */ 93 93 # define CF_DEBUG_PRINT_CALLSTACK(__fp) \
Note:
See TracChangeset
for help on using the changeset viewer.