[Biococoa-dev] NSMutableData vs malloc

Koen van der Drift kvddrift at earthlink.net
Mon Jul 18 20:26:21 EDT 2005


On Jul 18, 2005, at 11:40 AM, Charles Parnot wrote:

> because the latter implies that we are using an array of char for  
> each symbol, and would require us to pass an array of char as  
> argument to the method, instead of just a char.


You are very right. I have updated the project and also changed the  
symbolString init to:

         symbolString  = [[NSString alloc] initWithUTF8String: (const  
char *) &aChar];

as per John's suggestion.

cheers,

- Koen.



More information about the Biococoa-dev mailing list