Next: , Previous: bpipe_check_field_name, Up: Utility Functions   [Contents]


A.4.2 bpipe_data_copy

copy data from one location to another

Synopsis

#include <bpipe/bpipe.h>

void bpipe_data_copy(
  void *dst,
  void *src,
  BPMatrix *matrix,
  BPDataType type
);

Parameters

void *dst

the destination

void *src

A pointer to the data

BPMatrix *matrix

the data’s matrix specification

BPDataType type

the data type


Possible values for a BPDataType are as follows: BPDType_char, BPDType_double, BPDType_int, BPDType_uint, BPDType_DVector2, BPDType_DVector3, BPDType_IVector2, BPDType_IVector3, BPDType_UIVector2, BPDType_UIVector3, BPDType_DComplex, BPDType_DCVector2, BPDType_DCVector3

Description

bpipe_data_copy copies data of a given type and matrix specification.

Returns

nothing.