Re: extern and opaque structs

2012-05-03 Thread Jacob Carlborg
On 2012-05-03 07:00, James Miller wrote: I'm doing C bindings and I have an opaque struct and an extern'd variable of the type of that struct. The problem is that dmd is complaining that the struct has no definition (which is true). Making it a pointer works (expected) but i can't do that because

Re: extern and opaque structs

2012-05-02 Thread Jonathan M Davis
On Thursday, May 03, 2012 07:00:21 James Miller wrote: > I'm doing C bindings and I have an opaque struct and an extern'd > variable of the type of that struct. The problem is that dmd is > complaining that the struct has no definition (which is true). > Making it a pointer works (expected) but i c