Top Level Namespace

Defined Under Namespace

Modules: Tox

Instance Method Summary collapse

Instance Method Details

#cflags(s) ⇒ Object



6
7
8
# File 'ext/tox/extconf.rb', line 6

def cflags(s)
  $CFLAGS += " #{s} "
end

#have_const!(*args) ⇒ Object



34
35
36
# File 'ext/tox/extconf.rb', line 34

def have_const!(*args)
  exit 1 unless have_const(*args, 'tox/tox.h')
end

#have_func!(*args) ⇒ Object



22
23
24
# File 'ext/tox/extconf.rb', line 22

def have_func!(*args)
  exit 1 unless have_func(*args, 'tox/tox.h')
end

#have_header!(*args) ⇒ Object



14
15
16
# File 'ext/tox/extconf.rb', line 14

def have_header!(*args)
  exit 1 unless have_header(*args)
end

#have_library!(*args) ⇒ Object



10
11
12
# File 'ext/tox/extconf.rb', line 10

def have_library!(*args)
  exit 1 unless have_library(*args)
end

#have_macro!(*args) ⇒ Object



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

def have_macro!(*args)
  exit 1 unless have_macro(*args, 'tox/tox.h')
end

#have_struct_member!(*args) ⇒ Object



18
19
20
# File 'ext/tox/extconf.rb', line 18

def have_struct_member!(*args)
  exit 1 unless have_struct_member(*args, 'tox/tox.h')
end

#have_type!(*args) ⇒ Object



30
31
32
# File 'ext/tox/extconf.rb', line 30

def have_type!(*args)
  exit 1 unless have_type(*args, 'tox/tox.h')
end