IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 7, 2007, 1:52:54 PM (19 years ago)
Author:
jhoblitt
Message:

update psAbort() API:

add noreturn attribute
remove unneeded 'name' params
turn into a macro so file/line/func are automatiically passed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/test/math/tst_psFunc01.c

    r4973 r11686  
    3939    memLeaks = psMemCheckLeaks(currentId,NULL,stderr,false);
    4040    if (0 != memLeaks) {
    41         psAbort(__func__,"Memory Leaks! (%d leaks)", memLeaks);
     41        psAbort("Memory Leaks! (%d leaks)", memLeaks);
    4242    }
    4343
     
    5858
    5959    if ( myGaussData->type.type != PS_TYPE_F32) {
    60         psAbort(__func__,"p_psGaussianDev did not return a vector of type F32");
     60        psAbort("p_psGaussianDev did not return a vector of type F32");
    6161    }
    6262
     
    6666    memLeaks = psMemCheckLeaks(currentId,NULL,stderr,false);
    6767    if (0 != memLeaks) {
    68         psAbort(__func__,"Memory Leaks! (%d leaks)", memLeaks);
     68        psAbort("Memory Leaks! (%d leaks)", memLeaks);
    6969    }
    7070
Note: See TracChangeset for help on using the changeset viewer.