[interfacekit] Re: BString near completion.... but I have a question

>Since the function returns an int32 and is supposed to return B_ERROR 
>if the character isn't found, I am not sure what to do... returning 
>B_BAD_VALUE might break existing code - but then, if it passes a NULL 
>pointer, it is already broken so we might be able to live with it :-)

My thinking exactly.

e

Necessity is the plea for every infringement of human freedom. It is the 
argument of tyrants; it is the creed of slaves.
        -William Pitt, British prime-minister (1759-1806)


Other related posts: