summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: fd0baf8)
raw | patch | inline | side by side (parent: fd0baf8)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Thu, 8 Nov 2007 10:13:48 +0000 (10:13 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Thu, 8 Nov 2007 10:13:48 +0000 (10:13 +0000) |
program/bindings/ruby/main.c | patch | blob | history |
index f568aa76fbc806b064bbe0ecd7bc9e7697e8b45c..e911d9a15324050202117cb4c1ffce36b01180ea 100644 (file)
free(raw_data);
result = rb_ary_new2(4);
- rb_ary_store(result, 0, INT2FIX(start));
- rb_ary_store(result, 1, INT2FIX(end));
+ rb_ary_store(result, 0, INT2NUM(start));
+ rb_ary_store(result, 1, INT2NUM(end));
rb_ary_store(result, 2, names);
rb_ary_store(result, 3, data);
return result;