1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/ext/bigdecimal/util/util.c
mrkn 2810c12a99 Import bigdecimal 1.4.0.pre.20181205a
* https://github.com/ruby/bigdecimal/compare/74d25ef..v1.4.0.pre.20181205a

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66222 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-05 11:30:24 +00:00

9 lines
157 B
C

#include "ruby.h"
RUBY_EXTERN VALUE rmpd_util_str_to_d(VALUE str);
void
Init_util(void)
{
rb_define_method(rb_cString, "to_d", rmpd_util_str_to_d, 0);
}