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

{-# LANGUAGE EmptyDataDecls,ForeignFunctionInterface #-}

{-# LINE 1 "src/Graphics/UI/Gtk/WebKit/JavaScriptCore/WebFrame.chs" #-}

module Graphics.UI.Gtk.WebKit.JavaScriptCore.WebFrame where

import Foreign.ForeignPtr.Unsafe
import Foreign.Ptr 
import Foreign.C.Types 

import Graphics.UI.Gtk.WebKit.Types 
import Graphics.UI.Gtk.WebKit.WebFrame
-- {#import Graphics.UI.Gtk.WebKit.JavaScriptCore.Types #}
import Graphics.UI.Gtk.WebKit.JavaScriptCore.JSBase
{-# LINE 16 "src/Graphics/UI/Gtk/WebKit/JavaScriptCore/WebFrame.chs" #-}


webFrameGetGlobalContext :: WebFrameClass self => self -> IO JSGlobalContextRef
webFrameGetGlobalContext webframe = webkit_web_frame_get_global_context ((castPtr.unsafeForeignPtrToPtr.unWebFrame.toWebFrame) webframe) 



foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/JavaScriptCore/WebFrame.h webkit_web_frame_get_global_context"
  webkit_web_frame_get_global_context :: ((Ptr ()) -> (IO (Ptr OpaqueJSContext)))