www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 22594] New: Update "Interfacing to C" to include intptr_t and

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 puremagic.com
          Reporter: lance 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.

--
Dec 13 2021