[Issue 6239] HTOD: Add support for converting opaque C types to D
https://issues.dlang.org/show_bug.cgi?id=6239 Andrej Mitrovic changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |WONTFIX --- Comment #5 from Andrej Mitrovic --- dstep supports this feature (https://github.com/jacob-carlborg/dstep), marking as wontfix. --
[Issue 6239] HTOD: Add support for converting opaque C types to D
https://issues.dlang.org/show_bug.cgi?id=6239 Andrei Alexandrescu changed: What|Removed |Added Component|htod|tools --
[Issue 6239] HTOD: Add support for converting opaque C types to D
http://d.puremagic.com/issues/show_bug.cgi?id=6239 Jacob Carlborg changed: What|Removed |Added CC||d...@me.com --- Comment #4 from Jacob Carlborg 2011-07-02 06:08:47 PDT --- The most correct translation would be: struct cairo_device_t; -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 6239] HTOD: Add support for converting opaque C types to D
http://d.puremagic.com/issues/show_bug.cgi?id=6239 Mike Parker changed: What|Removed |Added CC||aldac...@gmail.com --- Comment #3 from Mike Parker 2011-07-02 04:05:53 PDT --- Wouldn't it be more appropriate to translate it as: struct cairo_device_t {} -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 6239] HTOD: Add support for converting opaque C types to D
http://d.puremagic.com/issues/show_bug.cgi?id=6239 --- Comment #2 from Andrej Mitrovic 2011-07-01 22:33:59 PDT --- Well crap that's not good, it needs to be: typedef void cairo_device_t; typedef void _cairo_device; Stupid C APIs! -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 6239] HTOD: Add support for converting opaque C types to D
http://d.puremagic.com/issues/show_bug.cgi?id=6239 --- Comment #1 from Andrej Mitrovic 2011-07-01 22:27:52 PDT --- For what it's worth this helps for us porting monkeys: regex: alias \w+ replace with: typedef void But you have to do this manually.. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---