Hi!

typedef struct Foo
{
 int x;
 double y;
}
Foo;

@interface Brak : NSObject
{
 Foo mFoo;
}
@end

I would like to know if it is to possibe to get the correct offset to the "x" or "y" field in the "mFoo" member of "Brak" using GSObjCFindVariable or some similar function. It would be pretty cool if I could set selected struct fields inside an instance by using GSObjCSetVariable. AFAIK the struct types are encoded, so the information should be there.

Thanks,
TOM


_______________________________________________
Gnustep-dev mailing list
Gnustep-dev@gnu.org
http://lists.gnu.org/mailman/listinfo/gnustep-dev

Reply via email to