--- Comment #2 from kdebuac....@porcupinefactory.org ---
I'm not sure if the patch is actually the right place to tackle this problem.
I would try to fix the behaviour of "rustByValue", but the way it's used seems
opposite to me and I dare not touch it:
let data = (&*ptr).%3();
)").arg(o.name, base, snakeCase(p.name), p.type.name,
p.rustByValue ?"&" :"");
In the above snippet, the generated code will use a *reference* &data.into()
iff rustByValue is *true*. Is this reversed?
You are receiving this mail because:
You are watching all bug changes.