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' ...@@ -3,7 +3,7 @@ require 'rubygems/package_task'
spec = Gem::Specification.new do |s| spec = Gem::Specification.new do |s|
s.name = "rconfig" s.name = "rconfig"
s.version = "1.0" s.version = "1.0.1"
s.author = "Peter Zotov" s.author = "Peter Zotov"
s.email = "whitequark@whitequark.ru" s.email = "whitequark@whitequark.ru"
s.platform = Gem::Platform::RUBY s.platform = Gem::Platform::RUBY
...@@ -12,6 +12,6 @@ spec = Gem::Specification.new do |s| ...@@ -12,6 +12,6 @@ spec = Gem::Specification.new do |s|
s.extensions = 'ext/extconf.rb' s.extensions = 'ext/extconf.rb'
end end
Rake::GemPackageTask.new(spec) do |pkg| Gem::PackageTask.new(spec) do |pkg|
end end
...@@ -104,9 +104,9 @@ static void rconfig_update_setting(config_setting_t* setting, VALUE value) ...@@ -104,9 +104,9 @@ static void rconfig_update_setting(config_setting_t* setting, VALUE value)
case CONFIG_TYPE_FLOAT: case CONFIG_TYPE_FLOAT:
// ruby1.9 check // ruby1.9 check
#if HAVE_RB_BLOCK_CALL #if HAVE_RB_BLOCK_CALL
config_setting_set_float(setting, RFLOAT(value)->float_value); config_setting_set_float(setting, RFLOAT_VALUE(value));
#else #else
config_setting_set_float(setting, RFLOAT(value)->value); config_setting_set_float(setting, RFLOAT_VALUE(value));
#endif #endif
break; 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