libflame revision_anchor
Functions
FLA_Obj_datatype_proj_to_real_check.c File Reference

(r)

Functions

FLA_Error FLA_Obj_datatype_proj_to_real_check (FLA_Obj obj)

Function Documentation

FLA_Error FLA_Obj_datatype_proj_to_real_check ( FLA_Obj  obj)

References FLA_Obj_view::base, FLA_Check_floating_object(), FLA_Check_nonconstant_object(), and FLA_Check_null_pointer().

{
  FLA_Error e_val;

  e_val = FLA_Check_null_pointer( obj.base );
  FLA_Check_error_code( e_val );

  e_val = FLA_Check_floating_object( obj );
  FLA_Check_error_code( e_val );

  e_val = FLA_Check_nonconstant_object( obj );
  FLA_Check_error_code( e_val );

  return FLA_SUCCESS;
}