Function sapnwrfc::binding::RfcDestroyStructure [] [src]

pub unsafe extern "C" fn RfcDestroyStructure(
    structHandle: RFC_STRUCTURE_HANDLE,
    errorInfo: *mut RFC_ERROR_INFO
) -> RFC_RC

Releases all memory for a particular structure

\warning Do not call this function on structures, which you have obtained from another data container (e.g. a function module) via RfcGetStructure(). In that case the memory will be released, when the parent container will be destroyed. If you destroy a child structure separately, you will get a segmentation fault, when the parent structure is destroyed!

\in structHandle Structure to release. \out *errorInfo Not much that can go wrong here. \return RFC_RC