-- GENERATED by C->Haskell Compiler, version 0.13.12 (gtk2hs branch) "Bin IO", 27 May 2012 (Haskell)
-- Edit the ORIGNAL .chs file instead!


{-# LINE 1 "./Graphics/UI/Gtk/WebKit/DOM/History.chs" #-}
module Graphics.UI.Gtk.WebKit.DOM.History
       (historyGetLength, History, HistoryClass, castToHistory,
        gTypeHistory, toHistory)
       where
import System.Glib.FFI
import System.Glib.UTFString
import Control.Applicative
import Graphics.UI.Gtk.WebKit.Types
{-# LINE 8 "./Graphics/UI/Gtk/WebKit/DOM/History.chs" #-}
import System.Glib.GError
import Graphics.UI.Gtk.WebKit.DOM.EventM
 
historyGetLength :: (HistoryClass self) => self -> IO Word
historyGetLength self
  = fromIntegral <$>
      ((\(History arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_history_get_length argPtr1) (toHistory self))

foreign import ccall safe "webkit_dom_history_get_length"
  webkit_dom_history_get_length :: ((Ptr History) -> (IO CULong))