Пример #1
0
/**
 * return whether resort support is requested
 */
FCSResult fcs_get_resort(FCS handle, fcs_int *resort)
{
  CHECK_HANDLE_RETURN_RESULT(handle, __func__);

  if (handle->get_resort == NULL)
    return fcs_result_create(FCS_ERROR_INCOMPATIBLE_METHOD, __func__, "resorting not supported");

  return handle->get_resort(handle, resort);
}
Пример #2
0
/**
 * return whether resort support is requested
 */
FCSResult fcs_get_resort(FCS handle, fcs_int *resort)
{
  const char* fnc_name = "fcs_get_resort";

  CHECK_HANDLE_RETURN_RESULT(handle, fnc_name);

  if (handle->get_resort == NULL)
    return fcs_result_create(FCS_ERROR_INCOMPATIBLE_METHOD, fnc_name, "resorting not supported");

  return handle->get_resort(handle, resort);
}