dr_copy_module_data

Function dr_copy_module_data 

Source
pub unsafe extern "C" fn dr_copy_module_data(
    data: *const module_data_t,
) -> *mut module_data_t
Expand description

Makes a copy of \p data. Copy must be freed with dr_free_module_data(). Useful for making persistent copies of module_data_t’s received as part of image load and unload event callbacks.