packages feed

hmatrix-sundials-0.19.0.0: src/helpers.h

/* Check function return value...
    opt == 0 means SUNDIALS function allocates memory so check if
             returned NULL pointer
    opt == 1 means SUNDIALS function returns a flag so check if
             flag >= 0
    opt == 2 means function allocates memory so check if returned
             NULL pointer
*/
int check_flag(void *flagvalue, const char *funcname, int opt);