Functions | |
FLA_Error | FLASH_Obj_create_hier_conf_to_flat_ext_check (FLA_Trans trans, FLA_Obj F, dim_t depth, dim_t *b_m, dim_t *b_n, FLA_Obj *H) |
FLA_Error FLASH_Obj_create_hier_conf_to_flat_ext_check | ( | FLA_Trans | trans, | |
FLA_Obj | F, | |||
dim_t | depth, | |||
dim_t * | b_m, | |||
dim_t * | b_n, | |||
FLA_Obj * | H | |||
) |
References FLA_Check_null_pointer(), and FLA_Check_valid_real_trans().
Referenced by FLASH_Obj_create_hier_conf_to_flat_ext().
00036 { 00037 FLA_Error e_val; 00038 00039 e_val = FLA_Check_valid_real_trans( trans ); 00040 FLA_Check_error_code( e_val ); 00041 00042 e_val = FLA_Check_null_pointer( b_m ); 00043 FLA_Check_error_code( e_val ); 00044 00045 e_val = FLA_Check_null_pointer( b_n ); 00046 FLA_Check_error_code( e_val ); 00047 00048 e_val = FLA_Check_null_pointer( H ); 00049 FLA_Check_error_code( e_val ); 00050 00051 // A value of depth < 0 should cause an error. 00052 00053 // First depth entries in blocksize should be checked; values < 1 should cause error. 00054 00055 return FLA_SUCCESS; 00056 }