pjsua_msg_data_clone method

Pointer<pjsua_msg_data> pjsua_msg_data_clone(
  1. Pointer<pj_pool_t> pool,
  2. Pointer<pjsua_msg_data> rhs
)

Clone message data.

@param pool Pool to allocate memory for the new message data. @param rhs Message data to be cloned.

@return The new message data.

Implementation

ffi.Pointer<pjsua_msg_data> pjsua_msg_data_clone(
  ffi.Pointer<pj_pool_t> pool,
  ffi.Pointer<pjsua_msg_data> rhs,
) {
  return _pjsua_msg_data_clone(
    pool,
    rhs,
  );
}