Feature #5992
closed
DL and fiddle should support intrinsic types, size_t, ptrdiff_t and intptr_t
Added by nobu (Nobuyoshi Nakada) almost 13 years ago.
Updated almost 13 years ago.
Description
=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
Files
Nobu,
This looks good. Will you apply please?
- Status changed from Open to Closed
- % Done changed from 0 to 100
This issue was solved with changeset r34800.
Nobuyoshi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
- ext/dl/dl.c (Init_dl): support intrinsic types, size_t, ptrdiff_t
and intptr_t. [ruby-core:42460][Feature #5992]
- ext/fiddle/fiddle.c (Init_fiddle): ditto.
- ext/dl/lib/dl/cparser.rb (DL::CParser#parse_ctype): ditto.
Also available in: Atom
PDF
Like0
Like0Like0