Copyright | © 2007–2012 Gracjan Polak 2012–2016 Ömer Sinan Ağacan 2017-2020 Albert Krewinkel |
---|---|
License | MIT |
Maintainer | Albert Krewinkel <tarleb+hslua@zeitkraut.de> |
Stability | beta |
Portability | non-portable (depends on GHC) |
Safe Haskell | None |
Language | Haskell2010 |
Raw bindings to function call helpers.
Synopsis
- type HsFunction = State -> IO NumResults
- hslua_newhsfunction :: State -> StablePtr a -> IO ()
- hslua_pushhsfunction :: State -> HsFunction -> IO ()
Documentation
type HsFunction = State -> IO NumResults Source #
Type of raw Haskell functions that can be made into
CFunction
s.
hslua_newhsfunction :: State -> StablePtr a -> IO () Source #
Pushes a new C function created from an HsFunction
.
hslua_pushhsfunction :: State -> HsFunction -> IO () Source #