Re: [GNOME VFS] gob inside gnome-vfs ...



James Henstridge <james daa com au> writes:
> The gnome-vfs module headers are in a completely separate directory
> (you need to add an extra -I command to cflags, or add the pkg-config
> gnome-vfs-module-2.0 to the list you require in configure.in).  That
> makes it pretty difficult to get confused ...

Yes, that works.

> 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.  Or is Seth proposing to add
> padding to the starts of the structs?

If you can add padding without breaking ABI, there's no reason to
bother adding padding at all. ;-)

Havoc



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