# Generated by ffi-gen. Please do not change this file by hand.

require 'ffi'

module CEF
  extend FFI::Library
  ffi_lib 'cef'
  
  def self.attach_function(name, *_)
    begin; super; rescue FFI::NotFoundError => e
      (class << self; self; end).class_eval { define_method(name) { |*_| raise e } }
    end
  end
  
  # Implement this structure to handle proxy resolution events.
  # 
  # = Fields:
  # :base ::
  #   (unknown) Base structure.
  # :get_proxy_for_url ::
  #   (FFI::Pointer(*)) Called to retrieve proxy information for the specified |url|.
  class ProxyHandler < FFI::Struct
    layout :base, :char,
           :get_proxy_for_url, :pointer
  end
  
end
