axl main logo
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Modules Pages
axlPI * axl_pi_copy ( axlPI pi)

Returns a newly allocated copy representing the same value as the provided axlPI reference.

Parameters
piThe pi reference received.
Returns
A reference to the axlPI element or null if it fails.

References axl_free(), axl_new, axl_pi_free(), axl_return_val_if_fail, and axl_strdup().

Referenced by axl_item_copy(), and axl_item_new().