Re: GDataInputStream API break



On 11/13/2009 08:50 AM, Alexander Larsson wrote:
> 
> I don't like breaking API like this. Especially since I think its the
> sync call that is really broken, and we should not also break the async
> one.
> 
> Maybe we can do something like:
> Add g_data_input_stream_read_until2() which doesn't consume the input.
> #define g_data_input_stream_read_until g_data_input_stream_read_until2

That still breaks the API; programs expecting the old behavior will be
silently switched to the new behavior when they are recompiled.

-- Dan


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