Public Member Functions | |
def | insertInto |
def | setPrerequisites |
The class is a Source which loads prerequisites libraries in advance. This is done to make sure we can load libraries containing common blocks in the correct order.
def Utils::LoadPrerequisiteSource::insertInto | ( | self, | |
parameterSet, | |||
myname | |||
) |
Definition at line 11 of file Utils.py.
00012 : 00013 from ctypes import LibraryLoader, CDLL 00014 import platform 00015 loader = LibraryLoader(CDLL) 00016 ext = platform.uname()[0] == "Darwin" and "dylib" or "so" 00017 [loader.LoadLibrary("lib%s.%s" % (l, ext)) for l in self.libraries] 00018 super(LoadPrerequisiteSource,self).insertInto(parameterSet,myname)