Summary: HTOD: Add support for converting opaque C types to D
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: htod

--- Comment #0 from Andrej Mitrovic <> 2011-07-01 
22:24:57 PDT ---

typedef struct _cairo_device cairo_device_t;

htod translates this incorrectly to:
alias _cairo_device cairo_device_t;

The closest D idiom to this is:
typedef void cairo_device_t;

Or if typedef is ultimately killed maybe alias would work:
alias void cairo_device_t;

There's a ton of this stuff in C header files. :/

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to