[Top][All Lists]

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

Re: Use "sel_getUid" for undeclared selector

From: David Ayers
Subject: Re: Use "sel_getUid" for undeclared selector
Date: Thu, 03 Feb 2005 14:37:35 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.3) Gecko/20040910

Sébastien Pierre wrote:

Hi all !

I would like to know if it is possible to do a "sel_getUid" that returns a non-NULL SEL for a selector that is not declared in the code ?

BTW, this question is related to previous mails (<> and < msg00013.html>).

I haven't had time to look at the runtime closely, but as your findings show, I'd also assume that the current GNU libobjc functions only retrieve references to selectors compiled into the executables. The GNU runtime also has a notion of typed selectors, which might make generating and registering selectors dynamically a little more cumbersome. I would suggest you search through libobjc (part of gcc).


PS: If you happen to require commercial support on this topic, feel free to contact me privately, but I'm sure there are also others on this list (or gcc-help@) that could help.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]