krl_build_distanceHandle_fromfile
Interface Definition
int krl_build_distanceHandle_fromfile(FILE* f, KRLDistanceHandle** kdh);
Function
Reads data of a distance computation handle from a file and rebuilds the handle.
Parameters
Parameter |
Data Type |
Description |
Value Range |
|---|---|---|---|
f |
FILE* |
Handle to a file opened for reading |
The value cannot be null. |
kdh |
const KRLDistanceHandle* |
Pointer to a KRLDistanceHandle instance. |
The value cannot be null. |
Return Values
Data Type |
Description |
|---|---|
int |
0 is returned on successful execution. In case of failure, an error code is returned to indicate the specific issue: |
Parent topic: Store/Load interfaces