Safe Haskell | None |
---|---|
Language | Haskell2010 |
- unsafeGetPointerToMethod :: String -> IO (FunPtr a)
- getPointerToMethodRaw :: IO (GetPtrToMethod a)
- makeGetPtrToMethod :: GetPtrToMethodFunPtr a -> GetPtrToMethod a
- getMethodStub :: String -> String -> String -> IO (FunPtr f)
- getMethodStubRaw :: IO (GetMethodStubDelegate a)
- type GetMethodStubDelegate a = BStr -> BStr -> BStr -> FunPtr a
- makeGetMethodStubDelegate :: FunPtr (GetMethodStubDelegate a) -> GetMethodStubDelegate a
Documentation
unsafeGetPointerToMethod :: String -> IO (FunPtr a) Source #
returns a function pointer to the method unsafeGetPointerToMethod
mm
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.
getPointerToMethodRaw :: IO (GetPtrToMethod a) Source #
getMethodStub :: String -> String -> String -> IO (FunPtr f) Source #
returns a function pointer to a function that, when
called, invokes the method with name getMethodStub
c m sm
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.