summaryrefslogtreecommitdiff
path: root/ext/dl
diff options
context:
space:
mode:
authorttate <ttate@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-04-10 14:45:22 +0000
committerttate <ttate@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-04-10 14:45:22 +0000
commit061ed0d389890baf089147c2f76fcf353c0494b4 (patch)
tree1a16121cd72fe629331eac96b038722f33d22ab3 /ext/dl
parent8bd818494dd3a5080d4a939f1868e741ee2ab41c (diff)
Add/Fix types.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2353 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/dl')
-rw-r--r--ext/dl/lib/dl/types.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/dl/lib/dl/types.rb b/ext/dl/lib/dl/types.rb
index 9b44d02b91..f93a4eb2b9 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],