pe_method_clone

Creates a new method object from an existing one.

Usage syntax

PE_METHOD pe_method_clone (PE_METHOD method);

Parameters
method An existing method object
Description

Creates a duplicate method from an existing method object.

Returns

On success, the new method with the attributes equal to the corresponding arguments. On failure, a null pointer.

Examples

PE_METHOD coordframe2 = pe_method_clone(coordframe);