discuss-gnustep
[Top][All Lists]
Advanced

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

Re: sel_getUid()


From: woudshoo
Subject: Re: sel_getUid()
Date: Sat, 18 Aug 2001 08:50:28 +0200 (CEST)

> I'm moving a foundation tool from OS X to GNUStep, and I've stumbled 
> across a linker resolving error on the sel_getUid() function.  My 
> question is does this function exist in GNUStep?  

No it does not.  It is not a OpenStep function but a objC
runtime function.  That said, the GNU ObjC runtime does
have an equivalent, called:

sel_get_uid ()

(However I do not have the documentation at hand to 
check if it is really equivalent, but the name suggests so
and the Apple and GNU runtime are similar)

That said,  why do you use the runtime functions at all?
Most things can be done with the OpenStep functions

NSStringFromSelector ()
NSSelectorFromString ()


which are portable and easier to work with.

Wim Oudshoorn






reply via email to

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