lua-1.0.0: Lua, an embeddable scripting language
Copyright© 2007–2012 Gracjan Polak;
© 2012–2016 Ömer Sinan Ağacan;
© 2017-2021 Albert Krewinkel
LicenseMIT
MaintainerAlbert Krewinkel <tarleb+hslua@zeitkraut.de>
Stabilitybeta
Portabilitynon-portable (depends on GHC)
Safe HaskellNone
LanguageHaskell2010

Foreign.Lua.Raw.Call

Description

Raw bindings to function call helpers.

Synopsis

Documentation

type HsFunction = State -> IO NumResults Source #

Type of raw Haskell functions that can be made into CFunctions.

hslua_newhsfunction :: State -> StablePtr a -> IO () Source #

Pushes a new C function created from an HsFunction.