Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
libconfig
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
libconfig
Commits
e434af94
Commit
e434af94
authored
Oct 17, 2017
by
Mark Lindner
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://github.com/hyperrealm/libconfig
parents
7646b20b
34aa8e7c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
contrib/libconfig-ruby/Rakefile
contrib/libconfig-ruby/Rakefile
+2
-2
contrib/libconfig-ruby/ext/rconfig.c
contrib/libconfig-ruby/ext/rconfig.c
+2
-2
No files found.
contrib/libconfig-ruby/Rakefile
View file @
e434af94
...
...
@@ -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
contrib/libconfig-ruby/ext/rconfig.c
View file @
e434af94
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment