Initializing help system before first use

XPRBdefcbdelvar

XPRBdefcbdelvar


Purpose
Callback for interface update at deletion of variables.
Synopsis
int XPRBpdefcbdelvar(XPRBprob prob, void (XPRB_CC *delinter)(XPRBprob eprob, void *evp, XPRBvar var, void *link), void *vp);
Arguments
prob 
Reference to a problem.
delinter 
User variable interface update function
eprob 
Problem from which the callback is called
evp 
Empty pointer for passing additional information
var 
Reference to a BCL variable
link 
Pointer to an interface object
vp 
Empty pointer for the user to pass additional information
Return value
0 if function executed successfully, 1 otherwise.
Example
Define the variable interface callback function:
XPRBprob prob;
   ...
void mydelinter(XPRBprob prob, void *vp, XPRBvar var, void *adr)
{
  printf("Deleted: %s", XPRBgetvarname(var));
}
   ...
XPRBdefcbdelvar(prob, mydelinter, NULL);
Further information
This function defines a callback function that is called at the deletion of any variable that is used in an interface to an external program, (that means, if the interface pointer of the variable is different from NULL).
Related topics

© 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.