diff options
author | ttate <ttate@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-04-10 14:45:22 +0000 |
---|---|---|
committer | ttate <ttate@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-04-10 14:45:22 +0000 |
commit | cea6d938af7dc95ce5903c31f97da1130eeb618e (patch) | |
tree | 1a16121cd72fe629331eac96b038722f33d22ab3 | |
parent | 158d64cb2fde73d326881595fe58c4f684956eba (diff) | |
download | ruby-cea6d938af7dc95ce5903c31f97da1130eeb618e.tar.gz ruby-cea6d938af7dc95ce5903c31f97da1130eeb618e.tar.xz ruby-cea6d938af7dc95ce5903c31f97da1130eeb618e.zip |
Add/Fix types.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2353 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ext/dl/lib/dl/types.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/dl/lib/dl/types.rb b/ext/dl/lib/dl/types.rb index 9b44d02b9..f93a4eb2b 100644 --- a/ext/dl/lib/dl/types.rb +++ b/ext/dl/lib/dl/types.rb @@ -13,7 +13,7 @@ module DL # for Windows ["DWORD", "unsigned long", nil, nil, nil, nil], ["PDWORD", "unsigned long *", nil, nil, nil, nil], - ["WORD", "unsigned int", nil, nil, nil, nil], + ["WORD", "unsigned short", nil, nil, nil, nil], ["PWORD", "unsigned int *", nil, nil, nil, nil], ["BOOL", "ibool", nil, nil, nil, nil], ["ATOM", "int", nil, nil, nil, nil], @@ -26,6 +26,8 @@ module DL ["PHANDLE","void*", nil, nil, nil, nil], ["PVOID", "void*", nil, nil, nil, nil], ["LPCSTR", "char*", nil, nil, nil, nil], + ["HDC", "unsigned int", nil, nil, nil, nil], + ["HWND", "unsigned int", nil, nil, nil, nil], # Others ["uint", "unsigned int", nil, nil, nil, nil], |