Top Level Namespace
Defined Under Namespace
Modules: ZSTDS
Instance Method Summary collapse
-
#require_header(name, types = []) ⇒ Object
rubocop:disable Style/GlobalVars.
- #require_library(name, functions) ⇒ Object
Instance Method Details
#require_header(name, types = []) ⇒ Object
rubocop:disable Style/GlobalVars
12 13 14 15 16 17 18 |
# File 'ext/extconf.rb', line 12 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
33 34 35 36 37 |
# File 'ext/extconf.rb', line 33 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 |