/[ascend]/trunk/base/generic/utilities/ascPanic.h
ViewVC logotype

Diff of /trunk/base/generic/utilities/ascPanic.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 977 by johnpye, Wed Dec 20 00:39:52 2006 UTC revision 978 by johnpye, Wed Dec 20 10:26:04 2006 UTC
# Line 87  NORETURN ASC_DLLSPEC(void) asc_panic( Line 87  NORETURN ASC_DLLSPEC(void) asc_panic(
87          , (float)A, (float)B))          , (float)A, (float)B))
88    
89  #define ASC_ASSERT_RANGE(A,B,C) \  #define ASC_ASSERT_RANGE(A,B,C) \
90      ((A) >= (B) && (A) < (C) ? (void)0 : asc_panic_line(ASCERR_ASSERTION_FAILED\      ((A) >= (B) && (A) < (C) ? (void)0 : (void)asc_panic_line(ASCERR_ASSERTION_FAILED\
91          , __FILE__, __LINE__, __FUNCTION__\          , __FILE__, __LINE__, __FUNCTION__\
92          ,"Assertion failed: %s < %s < %s (val = %f, low = %f, up = %f)" \          ,"Assertion failed: %s < %s < %s (val = %f, low = %f, up = %f)" \
93          , #B, #A, #C \          , #B, #A, #C \

Legend:
Removed from v.977  
changed lines
  Added in v.978

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22