mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-02-02 02:11:09 +00:00
Very minor formatting updates
This commit is contained in:
parent
2fb420b991
commit
a4cdcb7fde
|
@ -31,8 +31,7 @@ import Foreign
|
|||
{# pointer *uc_engine as EnginePtr -> Engine #}
|
||||
|
||||
-- | Make a new Unicorn engine out of an engine pointer. The returned Unicorn
|
||||
-- engine will automatically close 'uc_close_wrapper' when it goes out of
|
||||
-- scope.
|
||||
-- engine will automatically call 'uc_close_wrapper' when it goes out of scope.
|
||||
mkEngine :: EnginePtr -> IO Engine
|
||||
mkEngine ptr =
|
||||
liftM Engine (newForeignPtr close ptr)
|
||||
|
|
Loading…
Reference in a new issue