gtkc.Loader.Linker Class Reference

List of all members.

Public Member Functions

alias void function (char[] libraryName, char[] symbolName, char[] message=null) failureFN
 this (char[] libraryName, char[] alternateLibraryName=null)
 this (char[] libraryName, char[] alternateLibraryName, failureFN fn)
 ~this ()
void link (inout Symbol[] symbols)
 Loads all the simbols for this library symbols: All the simbol names to be loaded.

Static Public Member Functions

static char[][] getLoadFailures (char[] libName)
 Gets all the failed loads for a specific library.
static char[][] getLoadLibraries ()
 Gets all libraries loaded.
static bool isPerfectLoad ()
 Checks if any symbol failed to load Returns: true is ALL symbols loaded.
static void dumpFailedLoads ()
static void defaultFail (char[] libraryName, char[] symbolName, char[] message=null)
 Default on load fail.

Public Attributes

const int RTLD_LAZY = 0x00001
const int RTLD_NOW = 0x00002
const int RTLD_NOLOAD = 0x00004
const int RTLD_DEEPBIND = 0x00008
const int RTLD_GLOBAL = 0x00100

Static Public Attributes

static char[][][char[]] loadFailures

Private Attributes

HANDLE handle
HANDLE alternateHandle
char[] libraryName
char[] alternateLibraryName
failureFN onLoadFailure

Constructor & Destructor Documentation

gtkc.Loader.Linker.this ( char[]  libraryName,
char[]  alternateLibraryName = null 
)

gtkc.Loader.Linker.this ( char[]  libraryName,
char[]  alternateLibraryName,
failureFN  fn 
)

gtkc.Loader.Linker.~this (  ) 


Member Function Documentation

static void gtkc.Loader.Linker.defaultFail ( char[]  libraryName,
char[]  symbolName,
char[]  message = null 
) [static]

Default on load fail.

Logs the symbols that failed to load

static void gtkc.Loader.Linker.dumpFailedLoads (  )  [static]

alias void gtkc.Loader.Linker.function ( char[]  libraryName,
char[]  symbolName,
char[]  message = null 
)

static char [][] gtkc.Loader.Linker.getLoadFailures ( char[]  libName  )  [static]

Gets all the failed loads for a specific library.

This is filled in only if the default onFailure method is used durin load returns: An array of the names hat failed to load for a specific library or null if none was found

static char [][] gtkc.Loader.Linker.getLoadLibraries (  )  [static]

Gets all libraries loaded.

This is filled in only if the default onFailure method is used durin load returns: An array of the library names

static bool gtkc.Loader.Linker.isPerfectLoad (  )  [static]

Checks if any symbol failed to load Returns: true is ALL symbols loaded.

void gtkc.Loader.Linker.link ( inout Symbol[]  symbols  ) 

Loads all the simbols for this library symbols: All the simbol names to be loaded.


Member Data Documentation

HANDLE gtkc.Loader.Linker.alternateHandle [private]

char [] gtkc.Loader.Linker.alternateLibraryName [private]

HANDLE gtkc.Loader.Linker.handle [private]

char [] gtkc.Loader.Linker.libraryName [private]

char [][][char[]] gtkc.Loader.Linker.loadFailures [static]

failureFN gtkc.Loader.Linker.onLoadFailure [private]

const int gtkc.Loader.Linker.RTLD_DEEPBIND = 0x00008

const int gtkc.Loader.Linker.RTLD_GLOBAL = 0x00100

const int gtkc.Loader.Linker.RTLD_LAZY = 0x00001

const int gtkc.Loader.Linker.RTLD_NOLOAD = 0x00004

const int gtkc.Loader.Linker.RTLD_NOW = 0x00002


SourceForge.net Logo DSource.org Logo digitalmars.com Logo