Re: off_t in libgsf interface is problematic
- From: Jody Goldberg <jody gnome org>
- To: Jon K Hellan <hellan acm org>
- Cc: gnumeric-list gnome org
- Subject: Re: off_t in libgsf interface is problematic
- Date: Thu, 8 Aug 2002 12:59:10 -0400
On Thu, Aug 08, 2002 at 02:35:32PM +0200, Jon-Kare Hellan wrote:
I think the solution chosen in glib for g_io_channels looks
reasonable. E.g:
GIOError g_io_channel_seek (GIOChannel *channel,
gint64 offset,
GSeekType type);
The implementation uses off_t - 64 bits if available - and checks for
overflow.
What do you think?
Sounds reasonable. We should convert from GsfOff_t to GSeekType I
had not noticed that enum.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]