Previous External Development Guide: Remote Procedure Calls Next

IDL_RPCVarCopy

Calling Sequence

void IDL_RPCVarCopy(IDL_VPTR src, IDL_VPTR dst)  

Description

Use this function to copy the contents of the src variable to the dst variable. Any dynamic memory associated with dst is de-allocated before the source data is copied. This function emulates the callable IDL function IDL_VarCopy().

Parameters

src

The source variable to be copied. If this variable is marked as temporary (returned from IDL_RPCGettmp(), for example) the dynamic data will be moved rather than copied to the destination variable.

dst

The destination variable that src is copied to.

Return Value

None.

  IDL Online Help (March 06, 2007)