The CAPI Manifesto

Martin Nowak dawg at dawgfoto.de
Mon Oct 24 05:11:25 PDT 2011


On Sat, 22 Oct 2011 04:34:59 +0200, Walter Bright  
<newshound2 at digitalmars.com> wrote:

> On 10/21/2011 12:41 AM, so wrote:
>> You are right, i forgot about macros, Is it only this or is there  
>> anything else?
>
> The only other thing is what does one do about 'char' - make it a byte,  
> ubyte, or char D type?

One should not loose the implicit conversion of string literals to
const char pointers. So the answer might be to use char where something
is used in a string context and (u)byte where it's not. In most cases this  
is
a no-brainer.

martin


More information about the Digitalmars-d mailing list