* libobjc selectors.
@ 2010-03-16 14:44 Sylvestre Gallon
0 siblings, 0 replies; 2+ messages in thread
From: Sylvestre Gallon @ 2010-03-16 14:44 UTC (permalink / raw)
To: gcc-help
Hi,
I am trying to have fun with objc in kernel. So to use objc in kernel
I have tried to port the objc runtime into kernel :
http://code.google.com/p/pmbsd/source/browse/#hg/usr/lib/libobjc
What I done seems to work well but I have a problem with selectors.
If I have a class with this members :
- (void) set_aaa;
- (void) set_bbb;
- (void) set_ccc;
and if I do
[my_obj set_aaa];
[my_obj set_bbb];
[my_obj set_ccc];
Only set_ccc is called. Do you know why ?
Is the meaning of the two members of struct SEL explained in some
documentation ?
Cheers,
ps : can you add me in CC I have not subscribe to this list :(
--
Sylvestre Gallon (http://devsyl.blogspot.com)
R&D @ Rathaxes (http://www.rathaxes.org)
FreeBSD Contributor (http://www.freebsd.org)
PMBSD Lead Developer (http://www.pmbsd.org)
^ permalink raw reply [flat|nested] 2+ messages in thread
* libobjc selectors
@ 2010-03-15 19:19 Sylvestre Gallon
0 siblings, 0 replies; 2+ messages in thread
From: Sylvestre Gallon @ 2010-03-15 19:19 UTC (permalink / raw)
To: gcc-help
Hi,
I am trying to have fun with objc in kernel. So to use objc in kernel
I have tried to port the objc runtime into kernel :
http://code.google.com/p/pmbsd/source/browse/#hg/usr/lib/libobjc
What I have done seems to work well but I have a problem with selectors.
If I have a class with this members :
- (void) set_aaa;
- (void) set_bbb;
- (void) set_ccc;
and if I do
[my_obj set_aaa];
[my_obj set_bbb];
[my_obj set_ccc];
Only set_ccc is called. Do you know why ?
Is the meaning of the two members of struct SEL is explained in some
documentation ?
Cheers,
--
Sylvestre Gallon (http://devsyl.blogspot.com)
R&D @ Rathaxes (http://www.rathaxes.org)
FreeBSD Contributor (http://www.freebsd.org)
PMBSD Lead Developer (http://www.pmbsd.org)
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-03-15 19:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-16 14:44 libobjc selectors Sylvestre Gallon
-- strict thread matches above, loose matches on Subject: below --
2010-03-15 19:19 Sylvestre Gallon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).