vsip_scalar_f* vsip_blockfind_f(const vsip_block_f *p); vsip_scalar_i* vsip_blockfind_i(const vsip_block_i *p);
These functions return a pointer to the user data array bound to the given block p. The block must have been bound previously and must be in the released state before calling these functions.
const vsip_block_p *p: Pointer to the block whose user data array is to be queried.
On success, a pointer to the user data array is returned.
On error, NULL is returned.
If an error occurs, the function returns NULL.
vsip_block_f *float_block; vsip_scalar_f *float_data; // Assuming float_block has been properly initialized, bound, and released float_data = vsip_blockfind_f(float_block); if (float_data == NULL) { // Handle error }