Previous: , Up: DLD   [Index]


1.67.2 DLD class: dynamic linking

addLibrary: library

Add library to the search path of libraries to be used by DLD.

addLibraryHandle: libraryHandle

This is called internally by gst_dlopen. The library will be open and put in the search path.

addModule: library

Add library to the list of modules to be loaded when the image is started. The gst_initModule function in the library is called, but the library will not be put in the search path used whenever a C function is requested but not registered.

defineExternFunc: aFuncName

This method calls #primDefineExternFunc: to try to link to a function with the given name, and answers whether the linkage was successful. You can redefine this method to restrict the ability to do dynamic linking.

initialize

Private - Initialize the receiver’s class variables

libraryList

Answer a copy of the search path of libraries to be used by DLD

moduleList

Answer a copy of the modules reloaded when the image is started

primDefineExternFunc: aFuncName

This method tries to link to a function with the given name, and answers whether the linkage was successful. It should not be overridden.

update: aspect

Called on startup - Make DLD re-link and reset the addresses of all the externally defined functions