Defined in carb/extras/Library.h

inline LibraryHandle carb::extras::getLibraryHandle(const void *symbolAddress)

Retrieves the handle for a loaded library from an address or symbol within it.


The library is not referenced as if loadLibrary() was called for it. Do not call unloadLibrary() to as this handle does not need to be released.


symbolAddress[in] The address of the symbol to find the library handle for. This may be a symbol returned from a previous call to getLibrarySymbol() or another known symbol in the library. This does not strictly need to be an exported symbol from the library, just an address within that library’s memory space.


A LibraryHandle representing the library that contains symbolAddress; kInvalidLibraryHandle if the library containing the symbol could not be determined.