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


{-# LINE 1 "./Graphics/UI/Gtk/WebKit/DOM/MemoryInfo.chs" #-}
module Graphics.UI.Gtk.WebKit.DOM.MemoryInfo
       (memoryInfoGetTotalJSHeapSize, memoryInfoGetUsedJSHeapSize,
        memoryInfoGetJsHeapSizeLimit)
       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/MemoryInfo.chs" #-}
import System.Glib.GError
import Graphics.UI.Gtk.WebKit.DOM.EventM
 
memoryInfoGetTotalJSHeapSize ::
                             (MemoryInfoClass self) => self -> IO Word
memoryInfoGetTotalJSHeapSize self
  = fromIntegral <$>
      ((\(MemoryInfo arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_memory_info_get_total_js_heap_size argPtr1)
{-# LINE 16 "./Graphics/UI/Gtk/WebKit/DOM/MemoryInfo.chs" #-}
         (toMemoryInfo self))
 
memoryInfoGetUsedJSHeapSize ::
                            (MemoryInfoClass self) => self -> IO Word
memoryInfoGetUsedJSHeapSize self
  = fromIntegral <$>
      ((\(MemoryInfo arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_memory_info_get_used_js_heap_size argPtr1)
{-# LINE 23 "./Graphics/UI/Gtk/WebKit/DOM/MemoryInfo.chs" #-}
         (toMemoryInfo self))
 
memoryInfoGetJsHeapSizeLimit ::
                             (MemoryInfoClass self) => self -> IO Word
memoryInfoGetJsHeapSizeLimit self
  = fromIntegral <$>
      ((\(MemoryInfo arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_memory_info_get_js_heap_size_limit argPtr1)
{-# LINE 30 "./Graphics/UI/Gtk/WebKit/DOM/MemoryInfo.chs" #-}
         (toMemoryInfo self))

foreign import ccall safe "webkit_dom_memory_info_get_total_js_heap_size"
  webkit_dom_memory_info_get_total_js_heap_size :: ((Ptr MemoryInfo) -> (IO CULong))

foreign import ccall safe "webkit_dom_memory_info_get_used_js_heap_size"
  webkit_dom_memory_info_get_used_js_heap_size :: ((Ptr MemoryInfo) -> (IO CULong))

foreign import ccall safe "webkit_dom_memory_info_get_js_heap_size_limit"
  webkit_dom_memory_info_get_js_heap_size_limit :: ((Ptr MemoryInfo) -> (IO CULong))