You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue is a follow-up to #1441, which was resolved in PR #1849.
The problem is that in addition to user_cb_data, there is another argument of type void * - user_data. It is passed to the target language as input in the repo::DownloadCallbacks::add_new_download method. Its value can be set for different downloaders:
repo::FileDownloader: user_data can be passed as a parameter to the add method for the file being added. repo::PackageDownloader: user_data can be passed as a parameter to the add method for the package being added.
Methods repo::Repo::set_user_data and repo::Repo::get_user_data to set/get user_data for each repository - used when downloading repository metadata.
Support for user_data is completely missing in SWIG bundings.
The text was updated successfully, but these errors were encountered:
This issue is a follow-up to #1441, which was resolved in PR #1849.
The problem is that in addition to
user_cb_data
, there is another argument of typevoid *
-user_data
. It is passed to the target language as input in therepo::DownloadCallbacks::add_new_download
method. Its value can be set for different downloaders:repo::FileDownloader
:user_data
can be passed as a parameter to theadd
method for the file being added.repo::PackageDownloader
:user_data
can be passed as a parameter to theadd
method for the package being added.Methods
repo::Repo::set_user_data
andrepo::Repo::get_user_data
to set/getuser_data
for each repository - used when downloading repository metadata.Support for
user_data
is completely missing in SWIG bundings.The text was updated successfully, but these errors were encountered: