Cairo Deimos bindings

Andrej Mitrovic andrej.mitrovich at gmail.com
Fri Apr 27 13:49:39 PDT 2012


On 4/27/12, Marco Leise <Marco.Leise at gmx.de> wrote:
> In C:
> STATUS_SUCCESS
>
> In D unmodified:
> cairo_status_t.STATUS_SUCCESS
>
> In D with cosmetic changes:
> cairo_status_t.SUCCESS

cairo_status_t.SUCCESS is like going halfway there but stopping. It
looks rather ugly imo. I think you either want the existing C names,
or names that *fully* fit the D coding style. So maybe the choice
should be between this:

cairo_status_t.STATUS_SUCCESS

and this:

CairoStatus.Success


More information about the Digitalmars-d mailing list