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
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)
(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))))