[Issue 22594] New: Update "Interfacing to C" to include intptr_t and uintptr_t

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Dec 13 19:44:12 UTC 2021


https://issues.dlang.org/show_bug.cgi?id=22594

          Issue ID: 22594
           Summary: Update "Interfacing to C" to include intptr_t and
                    uintptr_t
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dlang.org
          Assignee: nobody at puremagic.com
          Reporter: lance at lancebachmeier.com

intptr_t and uintptr_t are defined in C99 and appear in some C code (Scintilla
being one prominent example). The "Data Type Compatibility" table on this page

https://dlang.org/spec/interfaceToC.html#data_type_compat

should include those types. They are defined in core.stdc.stdint. They might
not be common, but in the current form, that page leaves the impression that
they're not even available.

--


More information about the Digitalmars-d-bugs mailing list