HROOT-core-0.8: src/HROOT/Core/TKey/FFI.hsc
{-# LANGUAGE ForeignFunctionInterface #-}
-- module HROOT.Class.FFI where
module HROOT.Core.TKey.FFI where
import Foreign.C
import Foreign.Ptr
-- import HROOT.Class.Interface
-- #include ""
import HROOT.Core.TKey.RawType
import HROOT.Core.TObject.RawType
import HROOT.Core.TClass.RawType
#include "HROOTCoreTKey.h"
foreign import ccall "HROOTCoreTKey.h TKey_SetName" c_tkey_setname
:: (Ptr RawTKey) -> CString -> IO ()
foreign import ccall "HROOTCoreTKey.h TKey_SetNameTitle" c_tkey_setnametitle
:: (Ptr RawTKey) -> CString -> CString -> IO ()
foreign import ccall "HROOTCoreTKey.h TKey_SetTitle" c_tkey_settitle
:: (Ptr RawTKey) -> CString -> IO ()
foreign import ccall "HROOTCoreTKey.h TKey_Draw" c_tkey_draw
:: (Ptr RawTKey) -> CString -> IO ()
foreign import ccall "HROOTCoreTKey.h TKey_FindObject" c_tkey_findobject
:: (Ptr RawTKey) -> CString -> IO (Ptr RawTObject)
foreign import ccall "HROOTCoreTKey.h TKey_GetName" c_tkey_getname
:: (Ptr RawTKey) -> IO CString
foreign import ccall "HROOTCoreTKey.h TKey_IsA" c_tkey_isa
:: (Ptr RawTKey) -> IO (Ptr RawTClass)
foreign import ccall "HROOTCoreTKey.h TKey_Paint" c_tkey_paint
:: (Ptr RawTKey) -> CString -> IO ()
foreign import ccall "HROOTCoreTKey.h TKey_printObj" c_tkey_printobj
:: (Ptr RawTKey) -> CString -> IO ()
foreign import ccall "HROOTCoreTKey.h TKey_SaveAs" c_tkey_saveas
:: (Ptr RawTKey) -> CString -> CString -> IO ()
foreign import ccall "HROOTCoreTKey.h TKey_Write" c_tkey_write
:: (Ptr RawTKey) -> CString -> CInt -> CInt -> IO CInt
foreign import ccall "HROOTCoreTKey.h TKey_delete" c_tkey_delete
:: (Ptr RawTKey) -> IO ()