1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* ext/dl/lib/dl/cparser.rb (DL::CParser::parse_signature): fixed

variable name.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22720 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2009-03-03 06:09:14 +00:00
parent daa2217d48
commit 91dd419efb
2 changed files with 5 additions and 2 deletions

View file

@ -1,4 +1,7 @@
Tue Mar 3 15:07:18 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
Tue Mar 3 15:09:12 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
* ext/dl/lib/dl/cparser.rb (DL::CParser::parse_signature): fixed
variable name.
* ext/dl/lib/dl/pack.rb (DL::PackInfo): reduced redundan
initialization.

View file

@ -52,7 +52,7 @@ module DL
ret = ret.join(" ")
return [func, parse_ctype(ret, tymap), args.collect{|arg| parse_ctype(arg, tymap)}]
else
raise(RuntimeError,"can't parse the function prototype: #{proto}")
raise(RuntimeError,"can't parse the function prototype: #{signature}")
end
end