On 2005-06-09 20:26:53 +0100 Sherm Pendley <[EMAIL PROTECTED]> wrote:
I've written some code that uses these functions from the Apple runtime:
/* get/set iVar values */
object_getInstanceVariable
object_setInstanceVariable
/* fetch the objc_ivar struct for a named ivar */
class_getInstanceVariable
I can't seem to find the equivalents in the GNU runtime. The information
is all there, in the various structs, there's just no ready-made function
to retrieve it.
Do these or similar functions exist already somewhere I've missed, or do
I need to write them?
In GNUstep base ... see base/Headers/Additions/GNUstepBase/GSObjCRuntime.h
(or in the installed headers at
/usr/GNUstep/System/Library/Headers/GNUstepBase/GSObjCRuntime.h) for runtime
independent mechanisms to use most runtime features.
_______________________________________________
Help-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-gnustep