[Issue 6239] HTOD: Add support for converting opaque C types to D

2016-08-27 Thread via Digitalmars-d-bugs
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

2015-06-08 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=6239

Andrei Alexandrescu and...@erdani.com changed:

   What|Removed |Added

  Component|htod|tools

--


[Issue 6239] HTOD: Add support for converting opaque C types to D

2011-07-02 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6239


Mike Parker aldac...@gmail.com changed:

   What|Removed |Added

 CC||aldac...@gmail.com


--- Comment #3 from Mike Parker aldac...@gmail.com 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

2011-07-02 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6239


Jacob Carlborg d...@me.com changed:

   What|Removed |Added

 CC||d...@me.com


--- Comment #4 from Jacob Carlborg d...@me.com 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

2011-07-01 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6239



--- Comment #1 from Andrej Mitrovic andrej.mitrov...@gmail.com 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: ---


[Issue 6239] HTOD: Add support for converting opaque C types to D

2011-07-01 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6239



--- Comment #2 from Andrej Mitrovic andrej.mitrov...@gmail.com 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: ---