Changeset 10 in libcf
- Timestamp:
- 01/30/13 23:40:33 (11 years ago)
- Location:
- trunk
- Files:
-
- 1 deleted
- 4 edited
- 1 copied
- 2 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/cf_base.h
r6 r10 13 13 #define CF_ERROR -1 14 14 15 #define NAME_LENGTH 128 16 15 17 #define CF_ERROR_BASE CF_ERROR * 1000 16 18 … … 20 22 #define CF_ERROR_MUTEX CF_ERROR_BASE * 5 21 23 #define CF_ERROR_DEBUG CF_ERROR_BASE * 6 24 #define CF_ERROR_LOG CF_ERROR_BASE * 7 22 25 23 26 #ifdef _WIN32 -
trunk/include/cf_debug.h
r9 r10 31 31 # define CF_DEBUG_CALLSTACK_POP() 32 32 #endif // #ifdef _DEBUG 33 34 #define NAME_LENGTH 12835 33 36 34 typedef void * CF_Debug_Ctx; … … 74 72 CF_Debug_CallStack * callstack); 75 73 74 #ifdef __cplusplus 75 } 76 #endif 77 76 78 #endif // #ifndef __CF_DEBUG_H__ -
trunk/src/cf_debug.c
r9 r10 22 22 if (__ctx == NULL) \ 23 23 return CF_ERROR_DEBUG_INVALID_CTX 24 24 25 #define GET_CTX_OSTREAM(__ctx) \ 25 26 ((((CF_DEBUG_CTX *)__ctx)->fp == NULL) \ … … 37 38 38 39 /* implementation of CF_Debug_Ctx */ 39 typedef struct __cf_debug_c ontext__40 typedef struct __cf_debug_ctx__ 40 41 { 41 42 char file[NAME_LENGTH + 1]; -
trunk/src/makefile
r6 r10 41 41 cf_thread \ 42 42 cf_debug \ 43 cf_log \ 43 44 44 LIB_NAME = CF45 LIB_NAME = cf 45 46 46 47 CC = gcc … … 89 90 dummy: 90 91 91 # test92 test: all93 $(CXX) $(CXXFLAGS) $(INCLUDES) $(CXXDEFS) -o $(OBJ_PATH)/main.o -c main.cpp94 $(LD) $(LDFLAGS) -o $(TARGET_PATH)/cf.ex $(OBJ_PATH)/main.o -L$(TARGET_PATH) -lpthread95 LD_LIBRARY_PATH=$(TARGET_PATH) $(TARGET_PATH)/cf.ex96 -
trunk/windows/libcf.ln
r8 r10 2 2 Microsoft Visual Studio Solution File, Format Version 10.00 3 3 # Visual Studio 2008 4 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "lib CF", "libCF/libCF.vcproj", "{E5FB2D95-3841-464C-B23F-94ADA4499FE6}"4 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libcf", "libcf/libcf.vcproj", "{E5FB2D95-3841-464C-B23F-94ADA4499FE6}" 5 5 EndProject 6 6 Global
Note:
See TracChangeset
for help on using the changeset viewer.