Replacements for Depracated NSIsSymbolNameDefined(), NSLookupAndBindSymbol()

  • I've been waiting for Apple to update its 'MoreUNIX.c' Sample Code to
    replace the depracated functions NSIsSymbolNameDefined() and
    NSLookupAndBindSymbol() and stop getting compiler warnings.  But it
    looks like maybe it's never going to happen, since MoreAuthSample has
    been replaced by BetterAuthSample (which requires 10.4.6 or later).

    Does anyone know what these functions do and/or how to replace them
    with non-depracated functions?  They're declared in dyld.h in the
    10.4u SDK, but no documentation shows when searching API in Xcode.

    Thanks,

    Jerry Krinock
  • On Dec 31, 2007, at 10:51 AM, Jerry Krinock wrote:

    > I've been waiting for Apple to update its 'MoreUNIX.c' Sample Code
    > to replace the depracated functions NSIsSymbolNameDefined() and
    > NSLookupAndBindSymbol() and stop getting compiler warnings.  But it
    > looks like maybe it's never going to happen, since MoreAuthSample
    > has been replaced by BetterAuthSample (which requires 10.4.6 or
    > later).
    >
    > Does anyone know what these functions do and/or how to replace them
    > with non-depracated functions?  They're declared in dyld.h in the
    > 10.4u SDK, but no documentation shows when searching API in Xcode.

    Look deeper; doing a "Full-Text" search on those symbols reveals they
    are documented in the "Mac OSX ABI Dynamic Loader Reference".  That
    doc also mentions the deprecation and replacement APIs.

    Note that it could be deemed a documentation bug (index?) in that an
    API search didn't reveal these.
    ___________________________________________________________
    Ricky A. Sharp        mailto:<rsharp...>
    Instant Interactive(tm)  http://www.instantinteractive.com
  • Hey Jerry -

    I'm not familiar with these particular functions, but from there
    names, it sounds like the dladdr function might fit the bill.

    Sent from my phone -
    Jon Hess

    On Dec 31, 2007, at 8:51 AM, Jerry Krinock <jerry...> wrote:

    > I've been waiting for Apple to update its 'MoreUNIX.c' Sample Code
    > to replace the depracated functions NSIsSymbolNameDefined() and
    > NSLookupAndBindSymbol() and stop getting compiler warnings.  But it
    > looks like maybe it's never going to happen, since MoreAuthSample
    > has been replaced by BetterAuthSample (which requires 10.4.6 or
    > later).
    >
    > Does anyone know what these functions do and/or how to replace them
    > with non-depracated functions? They're declared in dyld.h in the
    > 10.4u SDK, but no documentation shows when searching API in Xcode.
    >
    > Thanks,
    >
    > Jerry Krinock
previous month december 2007 next month
MTWTFSS
          1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31            
Go to today