ESObjectWithProperties using ivars
thijsalkemade at gmail.com
Wed Jun 2 21:32:48 UTC 2010
Op 2 jun 2010, om 22:54 heeft Evan Schoenberg, M.D. het volgende geschreven:
> It's a neat idea, and I'm glad to see you working on something that excites you :)
> I do hate to see us making changes that require warnings... is it unavoidable that this throw warnings, or a work-in-progress sort of issue?
> I'm not worried about exposing the ivars; a benign plugin will be using them properly, and a malicious plugin could get access to the same data via some trickery anyways (e.g. poseAsClass and knowledge of our headers).
Turned out they were avoidable after all. It looks a bit weird now, but with two casts GCC is happy with passing a BOOL or int as a void* (at least on 64 bit).
If you hadn't noticed yet, I finished it up and posted my changes as two patches here: http://trac.adium.im/ticket/14055, one with the fundamental changes, one which changes a number of properties to ivars.
I hope you like the result :)
More information about the devel