← Back to index
|
Original Bugzilla link
Bug 2119 – Please provide example of interfacing to C struct
Status
RESOLVED
Resolution
FIXED
Severity
enhancement
Priority
P2
Component
dlang.org
Product
D
Version
D2
Platform
x86
OS
Linux
Creation time
2008-05-20T13:43:00Z
Last change time
2015-06-09T01:21:35Z
Assigned to
nobody
Creator
jlquinn
Comments
Comment #0
by jlquinn — 2008-05-20T13:43:45Z
It would be nice to see an example of exporting a C struct to D, such as that returned by stat().
Comment #1
by andrej.mitrovich — 2012-12-01T16:09:57Z
See
http://dlang.org/interfaceToC.html
section Structs and Unions.