// CacheModel returns the current cache model. // // See also: webkit_web_context_get_cache_model at // http://webkitgtk.org/reference/webkit2gtk/stable/WebKitWebContext.html#webkit-web-context-get-cache-model. func (wc *WebContext) CacheModel() CacheModel { return CacheModel(C.int(C.webkit_web_context_get_cache_model(wc.webContext))) }
// CacheModel is a wrapper around webkit_web_context_get_cache_model(). func (w *WebContext) CacheModel() CacheModel { c := C.webkit_web_context_get_cache_model(w.native()) return CacheModel(c) }