我要评分
获取效率
正确性
完整性
易理解

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: