Initializing help system before first use

getprobnextctr

getprobnextctr


Purpose
Get the next constraint in the problem.
Synopsis
XPRMlinctr getprobnextctr(XPRMcontext ctx, void **prev);
Arguments
ctx 
Mosel's execution context
prev 
Pointer to a pointer used by the function to store its current status. This variable has to be initialised with NULL for the first call
Return value
The next constraint in the problem or NULL when the last constraint has been returned.
Further information
This function returns the next constraint in the problem. The second parameter is used to store the current location in the table: it must be a pointer to a pointer. For the first call, its value has to be initialised with NULL and the function returns the first constraint.
Related topics