Function rs2_get_api_version

Function Documentation

int rs2_get_api_version(rs2_error **error)

Retrieve the API version from the source code. Evaluate that the value is conformant to the established policies

Parameters:

error[out] if non-null, receives any error that occurs during this call, otherwise, errors are ignored

Returns:

the version API encoded into integer value “1.9.3” -> 10903