MTXCopy

C Specification

    #include <revolution/mtx.h>

    void C_MTXCopy ( const Mtx src, Mtx dst );
    void PSMTXCopy ( const Mtx src, Mtx dst );

    #define MTXCopy  C_MTXCopy // for debug build
    #define MTXCopy  PSMTXCopy // for nondebug build

Arguments

src Source matrix for copy.   src may be either an Mtx or an MtxPtr.
dst Destination matrix for copy. dst may be either an Mtx or an MtxPtr.

Return Values

None.

Description

Copies the contents of src into dst.

During a debug build, MTXCopy is interpreted as C_MTXCopy, which is a normal C language version. During a nondebug build for a Broadway processor, the paired-singles equivalent of this function, PSMTXCopy, will be automatically substituted. You can also call each of C_MTXCopy/PSMTXCopy explicitly.

See Also

Mtx, MtxPtr

Revision History

03/01/2006 Initial version.