Thread overview
Opaque Undefined Structs...
Jun 04, 2005
Trevor Parscal
Jun 04, 2005
Trevor Parscal
June 04, 2005
I guess FreeType uses these undefined structs that or opaque something or other.. Eh, not my bag, but I gotta deal with them.

Anyone know anything about them, and how I should go about defining them in a d module... Other structs (that ARE defined) rely on them..

I tried just

struct FT_Incremental;
struct FT_Size_Internal;
struct FT_Raster;

but it says forward refrence error this and that..

freetype.d(143): struct freetype.FT_Incremental_InterfaceRec_ unable toresolve forward reference

So yeah, if anyone knows much about this.. I would love some help, as usual.. :)

-- 
Thanks,
Trevor Parscal
www.trevorparscal.com
trevorparscal@hotmail.com
June 04, 2005
Well, I'd grep it for FT_Incremental.  It may be defined elsewhere... if not, try:

struct FT_Incremental
{
}

-[Unknown]


> I guess FreeType uses these undefined structs that or opaque something or other.. Eh, not my bag, but I gotta deal with them.
> 
> Anyone know anything about them, and how I should go about defining them in a d module... Other structs (that ARE defined) rely on them..
> 
> I tried just
> 
> struct FT_Incremental;
> struct FT_Size_Internal;
> struct FT_Raster;
> 
> but it says forward refrence error this and that..
> 
> freetype.d(143): struct freetype.FT_Incremental_InterfaceRec_ unable toresolve forward reference
> 
> So yeah, if anyone knows much about this.. I would love some help, as usual.. :)
> 
June 04, 2005
Unknown W. Brackets wrote:

> struct FT_Incremental
> {
> }

Yes, that was it, thank you...

Hey, I want to thank everyone, you guys help me so much... You all deserve christmas cards or soemthing.. :)

E-Mail me your addy and I will send you a wedding announcment. (no really, I would love you.. all of you D guys.. )

-- 
Thanks,
Trevor Parscal
www.trevorparscal.com
trevorparscal@hotmail.com