ruby-changes:66246
From: Orgad <ko1@a...>
Date: Tue, 18 May 2021 12:48:57 +0900 (JST)
Subject: [ruby-changes:66246] 25e56fe374 (master): [ruby/fiddle] Fix Win32Types for Windows 64-bit (#63)
https://git.ruby-lang.org/ruby.git/commit/?id=25e56fe374 From 25e56fe374478a2266ac25f22a07bb3c6a423c83 Mon Sep 17 00:00:00 2001 From: Orgad Shaneh <orgads@g...> Date: Mon, 28 Dec 2020 22:04:46 +0200 Subject: [ruby/fiddle] Fix Win32Types for Windows 64-bit (#63) https://docs.microsoft.com/en-us/windows/win32/winprog/windows-data-types https://github.com/ruby/fiddle/commit/28ee5b1608 --- ext/fiddle/lib/fiddle/types.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ext/fiddle/lib/fiddle/types.rb b/ext/fiddle/lib/fiddle/types.rb index 8dc811d..298a5e1 100644 --- a/ext/fiddle/lib/fiddle/types.rb +++ b/ext/fiddle/lib/fiddle/types.rb @@ -44,11 +44,11 @@ module Fiddle https://github.com/ruby/ruby/blob/trunk/ext/fiddle/lib/fiddle/types.rb#L44 typealias "HANDLE", "uintptr_t" typealias "PHANDLE", "void*" typealias "PVOID", "void*" - typealias "LPCSTR", "char*" + typealias "LPCSTR", "const char*" typealias "LPSTR", "char*" - typealias "HINSTANCE", "unsigned int" - typealias "HDC", "unsigned int" - typealias "HWND", "unsigned int" + typealias "HINSTANCE", "HANDLE" + typealias "HDC", "HANDLE" + typealias "HWND", "HANDLE" } end module_function :included -- cgit v1.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/