frac 0.9.1 → 0.9.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. data/ext/frac_ext.c +4 -0
  2. metadata +2 -2
@@ -24,6 +24,10 @@
24
24
  #include <stdio.h>
25
25
  #include <ruby.h>
26
26
 
27
+ #ifndef RFLOAT_VALUE
28
+ # define RFLOAT_VALUE(v) RFLOAT(rb_Float(v))->value
29
+ #endif
30
+
27
31
  static VALUE find_fracs(VALUE mod, VALUE rv, VALUE dv)
28
32
  {
29
33
  VALUE ret;
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 9
8
- - 1
9
- version: 0.9.1
8
+ - 2
9
+ version: 0.9.2
10
10
  platform: ruby
11
11
  authors:
12
12
  - Pavel Valodzka