Re: runtime and type encoding confusion on 64-bit
Graham Lee <[email protected]>
| Newsgroups | gmane.comp.macosx.devel |
|---|---|
| Message-ID | <[email protected]> |
On Sep 5, 2009, at 17:41 , Shantonu Sen wrote: > Did you look at the prototype? > > OBJC_EXPORT Ivar object_getInstanceVariable(id obj, const char > *name, void **outValue); The documentation is wrong in that respect. This has been discussed often, examples: http://stackoverflow.com/questions/1219081/objectgetinstancevariable-works-for-float-int-bool-but-not-for-double http://lists.apple.com/archives/Objc-language/2008/Nov/msg00027.html http://www.cocoabuilder.com/archive/message/cocoa/2003/12/3/80620 Cheers, Graham.