Bug 22594 – Update "Interfacing to C" to include intptr_t and uintptr_t
Status
RESOLVED
Resolution
FIXED
Severity
enhancement
Priority
P4
Component
dlang.org
Product
D
Version
D2
Platform
x86_64
OS
Linux
Creation time
2021-12-13T19:44:12Z
Last change time
2023-02-03T10:38:31Z
Keywords
pull
Assigned to
No Owner
Creator
Lance Bachmeier
Comments
Comment #0 by lance — 2021-12-13T19:44:12Z
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.
Comment #1 by dlang-bot — 2023-02-01T15:53:41Z
@ioanavivi12 created dlang/dlang.org pull request #3509 "Fix Issue 22594 " fixing this issue:
- Fix 22594
Add an extra row to include intptr_t and uintptr_t data types.
https://github.com/dlang/dlang.org/pull/3509
Comment #2 by dlang-bot — 2023-02-03T10:25:48Z
@ioanavivi12 created dlang/dlang.org pull request #3519 "Fix Issue 22594 - Update Interfacing to C to include intptr_t and uin…" fixing this issue:
- Fix Issue 22594 - Update Interfacing to C to include intptr_t and uintptr_t
https://github.com/dlang/dlang.org/pull/3519
Comment #3 by dlang-bot — 2023-02-03T10:38:31Z
dlang/dlang.org pull request #3519 "Fix Issue 22594 - Update Interfacing to C to include intptr_t and uin…" was merged into master:
- b97d88afe556ab6044f81ebb2ae96e4a33c579e9 by ioanavivi12:
Fix Issue 22594 - Update Interfacing to C to include intptr_t and uintptr_t
https://github.com/dlang/dlang.org/pull/3519