-- 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/XPathNSResolver.chs" #-}
module Graphics.UI.Gtk.WebKit.DOM.XPathNSResolver
       (xPathNSResolverLookupNamespaceURI, XPathNSResolver,
        XPathNSResolverClass, castToXPathNSResolver, gTypeXPathNSResolver,
        toXPathNSResolver)
       where
import System.Glib.FFI
import System.Glib.UTFString
import Control.Applicative
import Graphics.UI.Gtk.WebKit.Types
{-# LINE 9 "./Graphics/UI/Gtk/WebKit/DOM/XPathNSResolver.chs" #-}
import System.Glib.GError
import Graphics.UI.Gtk.WebKit.DOM.EventM
 
xPathNSResolverLookupNamespaceURI ::
                                  (XPathNSResolverClass self, GlibString string) =>
                                    self -> string -> IO string
xPathNSResolverLookupNamespaceURI self prefix
  = (withUTFString prefix $
       \ prefixPtr ->
         (\(XPathNSResolver arg1) arg2 -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_xpath_ns_resolver_lookup_namespace_uri argPtr1 arg2)
{-# LINE 19 "./Graphics/UI/Gtk/WebKit/DOM/XPathNSResolver.chs" #-}
           (toXPathNSResolver self)
           prefixPtr)
      >>=
      readUTFString

foreign import ccall safe "webkit_dom_xpath_ns_resolver_lookup_namespace_uri"
  webkit_dom_xpath_ns_resolver_lookup_namespace_uri :: ((Ptr XPathNSResolver) -> ((Ptr CChar) -> (IO (Ptr CChar))))