Changeset 14256 in webkit for trunk/JavaScriptCore/wtf/Assertions.cpp
- Timestamp:
- May 9, 2006, 2:27:55 AM (19 years ago)
- Location:
- trunk/JavaScriptCore/wtf
- Files:
-
- 1 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/wtf/Assertions.cpp
r14140 r14256 63 63 } 64 64 65 void KXCReportAssertionFailure(const char *file, int line, const char *function, const char *assertion)65 void WTFReportAssertionFailure(const char *file, int line, const char *function, const char *assertion) 66 66 { 67 67 if (assertion) … … 71 71 } 72 72 73 void KXCReportAssertionFailureWithMessage(const char *file, int line, const char *function, const char *assertion, const char *format, ...)73 void WTFReportAssertionFailureWithMessage(const char *file, int line, const char *function, const char *assertion, const char *format, ...) 74 74 { 75 75 fprintf(stderr, "=================\nASSERTION FAILED: "); … … 81 81 } 82 82 83 void KXCReportArgumentAssertionFailure(const char *file, int line, const char *function, const char *argName, const char *assertion)83 void WTFReportArgumentAssertionFailure(const char *file, int line, const char *function, const char *argName, const char *assertion) 84 84 { 85 85 fprintf(stderr, "=================\nARGUMENT BAD: %s, %s (%s:%d %s)\n=================\n", argName, assertion, file, line, function); 86 86 } 87 87 88 void KXCReportFatalError(const char *file, int line, const char *function, const char *format, ...)88 void WTFReportFatalError(const char *file, int line, const char *function, const char *format, ...) 89 89 { 90 90 fprintf(stderr, "=================\nFATAL ERROR: "); … … 96 96 } 97 97 98 void KXCReportError(const char *file, int line, const char *function, const char *format, ...)98 void WTFReportError(const char *file, int line, const char *function, const char *format, ...) 99 99 { 100 100 fprintf(stderr, "=================\nERROR: "); … … 106 106 } 107 107 108 void KXCLog(const char*, int, const char*, KXCLogChannel *channel, const char *format, ...)108 void WTFLog(const char*, int, const char*, WTFLogChannel *channel, const char *format, ...) 109 109 { 110 if (channel->state != KXCLogChannelOn)110 if (channel->state != WTFLogChannelOn) 111 111 return; 112 112
Note:
See TracChangeset
for help on using the changeset viewer.