libflame  12600
Functions
FLA_Part_1x2_check.c File Reference

(r12600)

Functions

FLA_Error FLA_Part_1x2_check (FLA_Obj A, FLA_Obj *A1, FLA_Obj *A2, dim_t nb, FLA_Side side)

Function Documentation

FLA_Error FLA_Part_1x2_check ( FLA_Obj  A,
FLA_Obj A1,
FLA_Obj A2,
dim_t  nb,
FLA_Side  side 
)

References FLA_Check_null_pointer(), FLA_Check_valid_leftright_side(), and FLA_Check_valid_object_datatype().

Referenced by FLA_Part_1x2(), and FLASH_Part_create_1x2().

{
  FLA_Error e_val;

  e_val = FLA_Check_valid_object_datatype( A );
  FLA_Check_error_code( e_val );

  e_val = FLA_Check_null_pointer( A1 );
  FLA_Check_error_code( e_val );

  e_val = FLA_Check_null_pointer( A2 );
  FLA_Check_error_code( e_val );

  e_val = FLA_Check_valid_leftright_side( side );
  FLA_Check_error_code( e_val );

  return FLA_SUCCESS;
}