11 lines
153 B
Haskell
11 lines
153 B
Haskell
{-# LANGUAGE ForeignFunctionInterface #-}
|
|
|
|
module ForeignExport where
|
|
|
|
import Foreign.C.Types
|
|
|
|
foreign export ccall foo :: CUInt
|
|
|
|
foo :: CUInt
|
|
foo = 123
|