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
ScanCallback currently takes all the fields of a ScanFile as parameters. This can be cumbersome to write and call.
Describe the functionality you are proposing.
Change ScanCallback so that it takes a struct ScanFile containing all the fields.
To make this change work with FFI, you must also change the rust_callback here to take the ScanFile struct, dustructure it, and pass its fields to the c callback.
Additional context
No response
The text was updated successfully, but these errors were encountered:
Please describe why this is necessary.
ScanCallback
currently takes all the fields of aScanFile
as parameters. This can be cumbersome to write and call.Describe the functionality you are proposing.
Change
ScanCallback
so that it takes a structScanFile
containing all the fields.To make this change work with FFI, you must also change the rust_callback here to take the
ScanFile
struct, dustructure it, and pass its fields to the c callback.Additional context
No response
The text was updated successfully, but these errors were encountered: