object_getInstanceVariable() and non atomic var types
object_getInstanceVariable() and non atomic var types
- Subject: object_getInstanceVariable() and non atomic var types
- From: Michael Monscheuer <email@hidden>
- Date: Sat, 03 Jan 2004 16:04:02 +0100
To create an outline view showing a debugging view of a document model I
am using object_getInstanceVariable() to read out the instance variables
of objects.
This works quite well if instance variable is of an atomic type (e.g.
floats, ints, longs). But if an instance variable is some kind of
stucture (e.g. NSRect, NSPoint) object_getInstanceVariable() returns
just nothing.
Any idea how to convert Rects etc. from an Ivar based instance var
description back to a c type variable like object_getInstanceVariable()
does correctly for atomic typed vars?
MiMo
--
=======================================================
And refashioning the fashioned
lest it stiffen into iron
is work of endless vital activity.
[Goethe]
mailto:email@hidden
mailto:email@hidden
All about CALAMUS DTP suite:
http://www.calamus.net
=======================================================
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.