зеркало из https://github.com/github/ruby.git
* 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:
Родитель
daa2217d48
Коммит
91dd419efb
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче