www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Opaque Undefined Structs...

reply Trevor Parscal <trevorparscal hotmail.com> writes:
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
Jun 03 2005
parent reply "Unknown W. Brackets" <unknown simplemachines.org> writes:
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.. :)
 
Jun 03 2005
parent Trevor Parscal <trevorparscal hotmail.com> writes:
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
Jun 03 2005