[gnet] Re: Prototype of g_io_channel_write() and gnet_iochennel_writen()



> > Loban Rahman <loban earthling net> writes:
> > > I've attached a patch for gnet. I'd do the same for glib, but I don't
> > > know how to get the stable glib from cvs. Doing a "cvs -z3 co glib" gets
> > > me the devel version (which is already fixed).
> > >
> >
> > This can't be fixed in the stable version anyway, since it's an API
> > change.
> 
> Correct me if I'm wrong, but adding const's shouldn't break binaries or
> compiles.

That's what I thought. Adding a const to the prototype makes previously
incompatible source into compatible source, but never makes currently
working source incompatible. ;-)

    = Loban



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