Closed 0xpr03 closed 6 years ago
Thank you for your PR.
I think it is better to add a new function with_args(args: Vec<String>) -> Instance
to Instance
type than change in new()
function. In this case, there are no need to change existing code. What do you think about it?
I think that's a good idea. Will work on that later on, currently busy with upstream.
@garkimasera I've pushed it with with_args, I've used an Option to unify all instance creations.
This works upstream for me.
Pushed with changes, I think I get now why we get a dangling pointer otherwise.
Great! Thanks.
Hi, I'm currently in need for some functions so expect more PRs to come :) I'm not that experienced in writing libs so tell me if any interfaces aren't that good.