libflame revision_anchor
FLASH_Obj_create_hier_copy_of_flat_ext_check.c File Reference

(r)

Functions

FLA_Error FLASH_Obj_create_hier_copy_of_flat_ext_check (FLA_Obj F, dim_t depth, dim_t *b_m, dim_t *b_n, FLA_Obj *H)
 

Function Documentation

◆ FLASH_Obj_create_hier_copy_of_flat_ext_check()

FLA_Error FLASH_Obj_create_hier_copy_of_flat_ext_check ( FLA_Obj F,
dim_t depth,
dim_t * b_m,
dim_t * b_n,
FLA_Obj * H )
14{
15 FLA_Error e_val;
16
17 e_val = FLA_Check_null_pointer( b_m );
18 FLA_Check_error_code( e_val );
19
20 e_val = FLA_Check_null_pointer( b_n );
21 FLA_Check_error_code( e_val );
22
23 e_val = FLA_Check_null_pointer( H );
24 FLA_Check_error_code( e_val );
25
26 // A value of depth < 0 should cause an error.
27
28 // First depth entries in blocksize should be checked; values < 1 should cause error.
29
30 return FLA_SUCCESS;
31}
FLA_Error FLA_Check_null_pointer(void *ptr)
Definition FLA_Check.c:518
int FLA_Error
Definition FLA_type_defs.h:47

References FLA_Check_null_pointer().

Referenced by FLASH_Obj_create_hier_copy_of_flat_ext().