gl icon indicating copy to clipboard operation
gl copied to clipboard

Generated types should be more permissive about Ptr types

Open ekmett opened this issue 11 years ago • 5 comments

Many of the types we generate take Ptr (), but which should take Ptr a unless we know more about exactly what pointer type they need.

ekmett avatar Nov 21 '14 07:11 ekmett

:+1:

hadronized avatar Feb 18 '15 21:02 hadronized

Patches welcome. =)

It really should just require threading a fresh variable supply through the type expander.

ekmett avatar Feb 18 '15 21:02 ekmett

I’m on it ;)

hadronized avatar Feb 18 '15 21:02 hadronized

Still looking for a solution. I guess we have to tweak values here, but I’m not sure at all.

hadronized avatar Feb 23 '15 09:02 hadronized

Those are the ones. You basically just need to thread a free variable list into the function that generates that.

ekmett avatar Feb 23 '15 15:02 ekmett