Nobuyoshi Nakada | 9 Feb 17:50
Favicon
Gravatar

[ruby-core:42460] [ruby-trunk - Feature #5992][Open] DL and fiddle should support intrinsic types, size_t, ptrdiff_t and intptr_t


Issue #5992 has been reported by Nobuyoshi Nakada.

----------------------------------------
Feature #5992: DL and fiddle should support intrinsic types, size_t, ptrdiff_t and intptr_t
https://bugs.ruby-lang.org/issues/5992

Author: Nobuyoshi Nakada
Status: Open
Priority: Normal
Assignee: Aaron Patterson
Category: ext
Target version: 2.0.0

size_t and ptrdiff_t can be resulted by built-in operators, so they should be provided as well as other
primitive types.

Also ruby often needs uintptr_t as VALUE.

Patch attached.

--

-- 
http://bugs.ruby-lang.org/

Aaron Patterson | 24 Feb 19:28
Gravatar

[ruby-core:42862] [ruby-trunk - Feature #5992] DL and fiddle should support intrinsic types, size_t, ptrdiff_t and intptr_t


Issue #5992 has been updated by Aaron Patterson.

Nobu,

This looks good.  Will you apply please?
----------------------------------------
Feature #5992: DL and fiddle should support intrinsic types, size_t, ptrdiff_t and intptr_t
https://bugs.ruby-lang.org/issues/5992

Author: Nobuyoshi Nakada
Status: Open
Priority: Normal
Assignee: Aaron Patterson
Category: ext
Target version: 2.0.0

=begin
(({size_t})) and (({ptrdiff_t})) can be resulted by built-in operators, so they should be provided as
well as other primitive types.

Also ruby often needs (({uintptr_t})) as (({VALUE})).

Patch attached.
=end

--

-- 
http://bugs.ruby-lang.org/

(Continue reading)


Gmane