File: extconf.rb

package info (click to toggle)
ruby-enumerable-statistics 2.0.1%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,036 kB
  • sloc: ansic: 1,808; ruby: 679; makefile: 11; sh: 4
file content (17 lines) | stat: -rw-r--r-- 420 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
require 'mkmf'

have_type('struct RRational')
have_func('rb_rational_new')
have_func('rb_rational_num')
have_func('rb_rational_den')
have_func('rb_rational_plus')

have_type('struct RComplex')
have_func('rb_complex_raw')
have_func('rb_complex_real')
have_func('rb_complex_imag')
have_func('rb_complex_plus')
have_func('rb_complex_div')
have_func('rb_dbl_complex_new')

create_makefile('enumerable/statistics/extension')