Re: My schedule, 2.4 schedule
- From: Tor Lillqvist <tml iki fi>
- To: Matthias Clasen <maclas gmx de>
- Cc: gtk-devel-list gnome org
- Subject: Re: My schedule, 2.4 schedule
- Date: Thu, 25 Dec 2003 22:44:36 +0000
Matthias Clasen writes:
> What would be the point of including the api without a working
> implementation ?
The trivial implementation would be a working one, in the sense that
it would work as well as current code that manipulates GPollFD::fd
directly does. I.e., just fine on Unix, and rather badly on Windows.
(The trivial implementation would be:
void
g_pollfd_set_fd (GPollFDType type,
gint fd,
GPollFD *pollfd)
{
pollfd->fd = fd;
}
void
g_pollfd_unset_fd (GPollFD *pollfd)
{
pollfd->fd = -1;
}
)
--tml
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]