[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CF Performance vs. Foundation (Re: Worth it for an object to cache its own IMPs?)



You would need to pass a pointer to the instance ("self") to the 
function in order to be able to reference it's internals. Just look at 
how it's done in CoreFoundation - plain C code that looks almost like 
ObjC...

j o a r

On 2004-03-01, at 15.29, Ben Dougall wrote:

> i don't think you can can you? i don't think self, nor calling 
> methods, nor instance variables access is possible from within a c 
> function. at least not without some jiggery of some sort -- then you 
> might be able to access them?