const char* or const(char)* when porting C headers?

Benjamin Thaut code at benjamin-thaut.de
Sun Dec 22 10:28:42 PST 2013


Am 22.12.2013 18:39, schrieb Gary Willoughby:
> Ah right, so:
>
> struct Tcl_Obj * CONST * objv
>
> would be:
>
> const(Tcl_Obj*)* objv  or  const(Tcl_Obj*)[] objv

Yes


More information about the Digitalmars-d-learn mailing list