Changeset c0180f in git
- Timestamp:
- May 6, 2009, 12:28:33 PM (14 years ago)
- Branches:
- (u'spielwiese', 'f6c3dc58b0df4bd712574325fe76d0626174ad97')
- Children:
- 73a442e7b74829bec76a708aac3cf9bbc716720b
- Parents:
- 348034fcec133223cc4cd1228a3835823dd64b12
- Location:
- omalloc
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
omalloc/omDebugCheck.c
r348034 rc0180f 4 4 * Author: obachman@mathematik.uni-kl.de (Olaf Bachmann) 5 5 * Created: 11/99 6 * Version: $Id: omDebugCheck.c,v 1.1 4 2002-01-22 16:17:43 Singular Exp $6 * Version: $Id: omDebugCheck.c,v 1.15 2009-05-06 10:28:33 Singular Exp $ 7 7 *******************************************************************/ 8 8 #include <mylimits.h> … … 26 26 static omError_t omDoCheckBinPage(omBinPage page, int normal_page, int level, 27 27 omError_t report, OM_FLR_DECL); 28 static void _omPrintAddrInfo(FILE* fd, omError_t error, void* addr, void* bin_size, omTrackFlags_t flags, int max_frames, c har* s);28 static void _omPrintAddrInfo(FILE* fd, omError_t error, void* addr, void* bin_size, omTrackFlags_t flags, int max_frames, const char* s); 29 29 30 30 … … 419 419 } 420 420 421 void _omPrintAddrInfo(FILE* fd, omError_t error, void* addr, void* bin_size, omTrackFlags_t flags, int frames, c har* s)421 void _omPrintAddrInfo(FILE* fd, omError_t error, void* addr, void* bin_size, omTrackFlags_t flags, int frames, const char* s) 422 422 { 423 423 int x; … … 443 443 } 444 444 445 void omPrintAddrInfo(FILE* fd, void *addr, c har* s)445 void omPrintAddrInfo(FILE* fd, void *addr, const char* s) 446 446 { 447 447 _omPrintAddrInfo(fd, omError_NoError, addr, NULL, 0, 10, s); -
omalloc/omError.h
r348034 rc0180f 4 4 * Author: obachman (Olaf Bachmann) 5 5 * Created: 11/99 6 * Version: $Id: omError.h,v 1. 8 2001-04-30 09:02:06Singular Exp $6 * Version: $Id: omError.h,v 1.9 2009-05-06 10:28:33 Singular Exp $ 7 7 *******************************************************************/ 8 8 #ifndef OM_ERROR_H … … 60 60 61 61 #ifndef OM_NDEBUG 62 extern void omPrintAddrInfo(FILE* fd, void* addr, c har* s);62 extern void omPrintAddrInfo(FILE* fd, void* addr, const char* s); 63 63 #else 64 64 #define omPrintAddrInfo(fd, addr, s) fprintf(fd, "OM_NDEBUG: no addr info available\n")
Note: See TracChangeset
for help on using the changeset viewer.