]> git.lizzy.rs Git - rust.git/commit
auto merge of #13567 : iancormac84/rust/libc_windows_guid_fix, r=alexcrichton
authorbors <bors@rust-lang.org>
Thu, 17 Apr 2014 11:46:50 +0000 (04:46 -0700)
committerbors <bors@rust-lang.org>
Thu, 17 Apr 2014 11:46:50 +0000 (04:46 -0700)
commit1fd7de8246df1f0e3447516482147fb5440bc3bc
treec89065219035516e0ad99aa79c1b56fb7580d2b4
parentd8fa1068677f97b4e2a949047a10a2e43b9da4e4
parentfc4c6ee462943fb7c8da76ac3ab648458a1a5b66
auto merge of #13567 : iancormac84/rust/libc_windows_guid_fix, r=alexcrichton

structure's Data2 and Data3 members expect WORD types instead of DWORD. I
discovered this discrepancy while experimenting with some bindings to
Microsoft's OLE2 api. The discrepancy was corrupting the contents of the
string returned by UuidToString after I used known GUIDs to test the
accuracy of the function binding. I didn't add test cases because it would
mean adding a dependency to my rather incomplete binding library. However,
the fix produces expected string values when tested.