[Biococoa-dev] NSMutableData vs malloc

Charles Parnot charles.parnot at gmail.com
Thu Jul 7 02:28:17 EDT 2005


On Jul 6, 2005, at 4:57 PM, John Timmer wrote:

>> Is there any way we could typedef it and keep it general, in case we
>> want to change it later... Maybe that's not worth it?
>>
>>
>
> Seems dangerous - once we start working over the sequence using C  
> functions
> as we apparently intend to do, changing the contents could be a  
> nightmare.
>
> JT

Yes, that would also be silly in terms of the public interface. We  
want to return array of chars and not array of yet-another-typedef.

char is good. There are 256 different ones, even enough to cover  
codons ;-)

charles

--
Xgrid-at-Stanford
Help science move fast forward:
http://cmgm.stanford.edu/~cparnot/xgrid-stanford

Charles Parnot
charles.parnot at gmail.com






More information about the Biococoa-dev mailing list