[Biococoa-dev] NSMutableData vs malloc
Koen van der Drift
kvddrift at earthlink.net
Sat Jul 16 21:11:16 EDT 2005
On Jul 6, 2005, at 6:55 PM, John Timmer wrote:
>> My preference would be to use the (unsigned) chars.
> Okay, that's three of us in agreement now. Is it time to do a
> project wide
> search for unichar and change it to unsigned char?
I have commited this change. The only place in the code where I get a
compiler warning because of this, is the line
symbolString = [[NSString alloc] initWithCharacters: &aChar
I changed it to:
symbolString = [[NSString alloc] initWithCString: (char *)
&aChar length: 1];
It seems to work (no compiler warnings) but I am not sure if this is
the right way to go. BTW, since we are already using the symbolChar
in BCSymbol, do we still need the symbolString?
More information about the Biococoa-dev