module Box3D.Compound
( create
, destroy
)
where
import Foreign
import Box3D.Tags (CompoundData, CompoundDef)
foreign import ccall unsafe "b3CreateCompound"
c_b3CreateCompound :: Ptr CompoundDef -> IO (Ptr CompoundData)
foreign import ccall unsafe "b3DestroyCompound"
c_b3DestroyCompound :: Ptr CompoundData -> IO ()
create
:: Ptr CompoundDef
-> IO (Ptr CompoundData)
create :: Ptr CompoundDef -> IO (Ptr CompoundData)
create Ptr CompoundDef
a0 =
Ptr CompoundDef -> IO (Ptr CompoundData)
c_b3CreateCompound Ptr CompoundDef
a0
destroy
:: Ptr CompoundData
-> IO ()
destroy :: Ptr CompoundData -> IO ()
destroy Ptr CompoundData
a0 =
Ptr CompoundData -> IO ()
c_b3DestroyCompound Ptr CompoundData
a0