average-vr-56795
09/10/2019, 4:34 PMscheduler_create
returns a raw pointer not a Handle
wrapping the pointer?witty-crayon-22786
09/10/2019, 5:18 PMaverage-vr-56795
09/10/2019, 5:19 PMNonPyResult
that happens to be layout-identical to PyResult
?witty-crayon-22786
09/10/2019, 5:19 PMaverage-vr-56795
09/10/2019, 5:20 PMwitty-crayon-22786
09/10/2019, 5:20 PMNonPyResult
would be generic, unfortunately.average-vr-56795
09/10/2019, 5:21 PMstruct NonPyResult {
is_throw: bool,
throw: Option<Handle>,
pointer: Option<*const raw::c_void>,
}
witty-crayon-22786
09/10/2019, 5:21 PMRawResult
or something.average-vr-56795
09/10/2019, 5:36 PMwitty-crayon-22786
09/10/2019, 5:44 PM