Commit e434af94 authored by Mark Lindner's avatar Mark Lindner

Merge branch 'master' of https://github.com/hyperrealm/libconfig

parents 7646b20b 34aa8e7c
......@@ -3,7 +3,7 @@ require 'rubygems/package_task'
spec = Gem::Specification.new do |s|
s.name = "rconfig"
s.version = "1.0"
s.version = "1.0.1"
s.author = "Peter Zotov"
s.email = "whitequark@whitequark.ru"
s.platform = Gem::Platform::RUBY
......@@ -12,6 +12,6 @@ spec = Gem::Specification.new do |s|
s.extensions = 'ext/extconf.rb'
end
Rake::GemPackageTask.new(spec) do |pkg|
Gem::PackageTask.new(spec) do |pkg|
end
......@@ -104,9 +104,9 @@ static void rconfig_update_setting(config_setting_t* setting, VALUE value)
case CONFIG_TYPE_FLOAT:
// ruby1.9 check
#if HAVE_RB_BLOCK_CALL
config_setting_set_float(setting, RFLOAT(value)->float_value);
config_setting_set_float(setting, RFLOAT_VALUE(value));
#else
config_setting_set_float(setting, RFLOAT(value)->value);
config_setting_set_float(setting, RFLOAT_VALUE(value));
#endif
break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment