clr-marshal-0.1.0.0: Marshaling for the clr

Safe HaskellNone
LanguageHaskell2010

Clr.Marshal.Host

Synopsis

Documentation

unsafeGetPointerToMethod :: String -> IO (FunPtr a) Source #

unsafeGetPointerToMethod m returns a function pointer to the method m as implemented in the Salsa .NET driver assembly (Salsa.dll). It is safe only if the type of the resulting function pointer matches that of the method given.

getMethodStub :: String -> String -> String -> IO (FunPtr f) Source #

getMethodStub c m s returns a function pointer to a function that, when called, invokes the method with name m and signature s in class c.

s should be a semi-colon delimited list of parameter types indicating the desired overload of the given method.