mirror of
https://github.com/ilyakooo0/ormolu.git
synced 2024-10-27 11:41:17 +03:00
c460bfa346
Closes #53
9 lines
310 B
Haskell
9 lines
310 B
Haskell
foreign export ccall foo :: Int -> IO Int
|
|
|
|
-- | 'foreignTomFun' is a very important thing
|
|
foreign export ccall "tomography" foreignTomFun
|
|
:: StablePtr Storage {- Storage is bad -} -> TomForegin
|
|
|
|
foreign export {- We can't use capi here -} ccall "dynamic"
|
|
export_nullaryMeth :: (IO HRESULT) -> IO (Ptr ())
|