Re: [GNOME VFS] gob inside gnome-vfs ...
- From: James Henstridge <james daa com au>
- To: Michael Meeks <michael ximian com>
- Cc: Havoc Pennington <hp redhat com>, Seth Nickell <snickell stanford edu>, Joe Shaw <joe ximian com>, vfs <gnome-vfs ximian com>, gnome-hackers gnome org
- Subject: Re: [GNOME VFS] gob inside gnome-vfs ...
- Date: Wed, 19 Jun 2002 18:05:20 +0800
Michael Meeks wrote:
Hi James,
On Wed, 2002-06-19 at 04:44, James Henstridge wrote:
Of course, most of the structs in gnome-vfs can only be legitimately
allocated by gnome-vfs functions, and there is no subclassing to worry
about (and things like GnomeVFSFileInfo have a flags field to say which
parts of the struct are valid), so it should be pretty easy to add stuff
to the end of the structs.
Unless, that is - people have arrays of them lurking in their apps eg.
GnomeMagicEntry.
Which would be a bug in their software (the same way allocating a
GObject on the stack would be). I see no indication in the gnome-vfs
headers or documentation that it is okay to allocate these structures
yourself. The only legitimate case would be an array of pointers to
structs, which would not be affected.
I was simply trying to work out what kind of change Seth had in mind.
The only one I can think of that would cause real binary compat
breakage would be if he wanted to add extra padding to the start of
structs so that it was possible to convert them to GObjects in the future.
James.
--
Email: james daa com au | Linux.conf.au 2003 Call for Papers out
WWW: http://www.daa.com.au/~james/ | http://conf.linux.org.au/cfp.html
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]