XPRBdefcberr
XPRBdefcberr |
int XPRBdefcberr(XPRBprob prob, void (XPRB_CC *usererr)(XPRBprob my_prob, void *my_object, int errnum, int type, const char *errtext), void *object);
prob
|
Reference to a problem.
|
||||
usererr
|
The user's error handling function.
|
||||
my_prob
|
Problem pointer passed to the callback function.
|
||||
my_object
|
User-defined object passed to the callback function.
|
||||
errnum
|
The error number.
|
||||
type
|
Type of the error. This will be one of:
|
||||
errtext
|
Text of the error message.
|
||||
object
|
User-defined object to be passed to the callback function.
|
XPRBprob prob; ... void myerr(XPRBprob my_prob, void *my_object, int num, int type, const char *t) { printf("BCL error %d: %s\n", num, t); if(type == XPRB_ERR) exit(0); } ... XPRBdefcberr(prob, myerror, NULL);
© 2001-2019 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.