Re: [gnet-dev] last patch



GNet is built against 1.2 or 2.0, so we could either have a #define or
function.  It requires a variable, so a function would be best
(like gnet_private_iochannel_new()).

Does calling g_io_channel_set_encoding() change the semantics any?  That
is, will the iochannel in 2.0 behave just like it does in 1.2.

David


On 13 Sep 2002, Ian Peters wrote:
> I don't know how I convinced myself that last patch would help without
> fixing GNET_SOCKET_IOCHANNEL_NEW in gnet-private.h, but it's rather more
> difficult with it as a macro to set the encoding in that call.  It's
> rather ugly to set the encoding everywhere it's called, though.
>
> Of course, I also forgot people could still be using glib-1.2.


-- 
      __          _    __ David Helder - dhelder umich edu
  ___/ /__ __  __(_)__/ / <http://www.eecs.umich.edu/~dhelder>
 / _  / _ `/ |/ / / _  /  Jungle Monkey: <http://www.junglemonkey.net>
 |_,_/|_,_/|___/_/|_,_/   Paper CD Case: <http://www.papercdcase.com>




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