Functions | |
FLA_Error | FLASH_Obj_create_hier_copy_of_flat_check (FLA_Obj F, dim_t depth, dim_t *blocksizes, FLA_Obj *H) |
FLA_Error FLASH_Obj_create_hier_copy_of_flat_check | ( | FLA_Obj | F, | |
dim_t | depth, | |||
dim_t * | blocksizes, | |||
FLA_Obj * | H | |||
) |
References FLA_Check_null_pointer().
Referenced by FLASH_Obj_create_hier_copy_of_flat().
00036 { 00037 FLA_Error e_val; 00038 00039 e_val = FLA_Check_null_pointer( blocksizes ); 00040 FLA_Check_error_code( e_val ); 00041 00042 e_val = FLA_Check_null_pointer( H ); 00043 FLA_Check_error_code( e_val ); 00044 00045 // A value of depth < 0 should cause an error. 00046 00047 // First depth entries in blocksize should be checked; values < 1 should cause error. 00048 00049 return FLA_SUCCESS; 00050 }