getDLLRegisteredRoutines(dll, addNames = TRUE)
DLLInfoobject. The character string specifies the file name of the DLL of interest, and is given without the file name extension (e.g., the
.so) and with no directory/path information. So a file
MyPackage/libs/MyPackage.sowould be specified as MyPackage.
DLLInfo objects can be obtained directly
in calls to
or can be found after the DLL has been loaded using
getLoadedDLLs, which returns a list of
DLLInfo objects (index-able by DLL file name).
DLLInfo approach avoids any ambiguities related to two
DLLs having the same name but corresponding to files in different
TRUE, the elements of the returned lists are named using the names of the routines (as seen by R via registration or raw name). If
FALSE, these names are not computed and assigned to the lists. As a result, the call should be quicker. The name information is also available in the
NativeSymbolInfoobjects in the lists.
"DLLRegisteredRoutines"with four elements corresponding to the routines registered for the
.Externalinterfaces. Each is a list with as many elements as there were routines registered for that interface. Each element identifies a routine and is an object of class
"NativeSymbolInfo". An object of this class has the following fields:
NULLif the symbol has not yet been resolved.
DLLInfodescribing the DLL. This is same for all elements returned.
getNativeSymbolInfofor information on the entry points listed.