messages in objective-C

2007-02-17 Thread Come Lonfils
Hello, I've already asked some questions about the messages in objective-c. But I still not understand all. When a program is running, and I send a message to an object, how is it done in gcc to sent this message to the good object and to execute the good method. Which structures are us

Re: messages in objective-C

2006-12-07 Thread Andrew Pinski
On Wed, 2006-12-06 at 17:19 +0100, Come Lonfils wrote: > Hi, > I'm trying to know more about how messages are send to the objects in > objective-C Messages are send via a dynamic lookup using strings. For the GNU runtime, objc_msg_lookup is called to get the function pointer and then we cast it to

Re: messages in objective-C

2006-12-06 Thread Devang Patel
Hi, I'm trying to know more about how messages are send to the objects in objective-C, how they are store,... In which structures en how? Where should I look in the source code of gcc to know it? I looked in libobjc but I'm a bit lost. Thanks very much See How Messaging Works document at http

Re: messages in objective-C

2006-12-06 Thread Mike Stump
On Dec 6, 2006, at 8:19 AM, Come Lonfils wrote: I'm trying to know more about how messages are send to the objects in objective-C, how they are store,... In which structures en how? Where should I look in the source code of gcc to know it? I looked in libobjc but I'm a bit lost. I'd probabl

messages in objective-C

2006-12-06 Thread Come Lonfils
Hi, I'm trying to know more about how messages are send to the objects in objective-C, how they are store,... In which structures en how? Where should I look in the source code of gcc to know it? I looked in libobjc but I'm a bit lost. Thanks very much Côme Lonfils