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
I'm attempting to make use of the multithreaded features of this library, and I encountered an issue where I couldn't actually reference the type SuruBarController. That is, I'm passing in the following type to a thread I'm creating:
var bar =initSuruBarThreaded()
bar[0].total = size
if opts.showProgress:
bar.setup()
...let data =ThreadData(
offsetY: offsetY,
y: y,
xInc: xInc,
yInc: yInc,
opts: opts,
imageAddr: imageAddr,
bar: bar
)
threads[i].createThread(processRow, data)
But with the current iteration, this doesn't work because SuruBarController is inaccessible externally.
Was wondering if it were possible to change the definition from: SuruBarController = object to SuruBarController* = object
Cheers!
The text was updated successfully, but these errors were encountered:
AllyMarthaJ
changed the title
Export SuruBarController
Make SuruBarController available externally
Nov 10, 2022
Hi there!
I'm attempting to make use of the multithreaded features of this library, and I encountered an issue where I couldn't actually reference the type
SuruBarController
. That is, I'm passing in the following type to a thread I'm creating:Creating a thread like so:
But with the current iteration, this doesn't work because SuruBarController is inaccessible externally.
Was wondering if it were possible to change the definition from:
SuruBarController = object
toSuruBarController* = object
Cheers!
The text was updated successfully, but these errors were encountered: