Top Level Namespace

Defined Under Namespace

Modules: LZWS

Instance Method Summary collapse

Instance Method Details

#require_header(name, types = []) ⇒ Object



8
9
10
11
12
13
14
# File 'ext/extconf.rb', line 8

def require_header(name, types = [])
  abort "Can't find #{name} header" unless find_header name

  types.each do |type|
    abort "Can't find #{type} type in #{name} header" unless find_type type, nil, name
  end
end

#require_library(name, functions) ⇒ Object



26
27
28
29
30
# File 'ext/extconf.rb', line 26

def require_library(name, functions)
  functions.each do |function|
    abort "Can't find #{function} function in #{name} library" unless find_library name, function
  end
end