void *REDIM_1D(int data_size, int first_data_pos, int last_data_pos)
{
/* for a buffer of n elements, first_data_pos is 0 and last_data_pos is n-1 */
void *REDIM_1D(int data_size, int first_data_pos, int last_data_pos)
{
/* for a buffer of n elements, first_data_pos is 0 and last_data_pos is n-1 */