Re: GDataInputStream API break



On Tue, 2009-11-17 at 10:34 -0600, Ryan Lortie wrote:
> On Tue, 2009-11-17 at 15:03 +0100, Alexander Larsson wrote:
> > I guess we should bit the bullet and just do this correctly, deprecating
> > the old function and creating a new one. Not sure what to best name it
> > though.
> > 
> > g_data_input_stream_read_until_found maybe?
> > 
> 
> If we're going to do this, I'd also like to nuke #572918 at the same
> time.  Since stop_chars is nul-terminated it's not possible to specify
> nul as one of your separator characters.
> 
> Maybe it makes sense to add a stop_chars_len parameter.

Yes, sounds good to me (-1 => it'll use strlen).




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]