diff options
author | tenderlove <tenderlove@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-06-02 16:02:48 +0000 |
---|---|---|
committer | tenderlove <tenderlove@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-06-02 16:02:48 +0000 |
commit | 230ca5ffe52421e68e2434d8ff25454f3abd5331 (patch) | |
tree | f357baeb3e9e1bd1203c807a220215483f64f3bd /ext | |
parent | fabba1b93b0ae8e034a2ef3b9e0694ea01caad12 (diff) | |
download | ruby-230ca5ffe52421e68e2434d8ff25454f3abd5331.tar.gz |
* ext/dl/lib/dl/cparser.rb (parse_ctype): add backwards compatibility
by supporting "uint" types in the c parser. [ruby-core:29750]
* test/dl/test_cparser.rb: adding a test for "uint" changes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28129 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
-rw-r--r-- | ext/dl/lib/dl/cparser.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/dl/lib/dl/cparser.rb b/ext/dl/lib/dl/cparser.rb index be23ab4567..210f953471 100644 --- a/ext/dl/lib/dl/cparser.rb +++ b/ext/dl/lib/dl/cparser.rb @@ -73,7 +73,7 @@ module DL return -TYPE_SHORT when "int" return TYPE_INT - when "unsigned int" + when "unsigned int", 'uint' return -TYPE_INT when "long" return TYPE_LONG |