Re: [GNOME VFS] gob inside gnome-vfs ...
Michael Meeks <[email protected]>
| Newsgroups | gmane.comp.gnome.vfs |
|---|---|
| Message-ID | <[email protected]> |
Hi James, On Wed, 2002-06-19 at 11:05, James Henstridge wrote: > > Unless, that is - people have arrays of them lurking in their apps eg. > >GnomeMagicEntry. > > 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. Problem is - that gnome-vfs returns an array itself; the compiled indexing arithmetic to which contains the sizeof the struct at compile time (obviously). I only found 1 method instantly that did this; gnome_vfs_mime_magic_parse, and didn't look further. Regards, Michael. -- [email protected] <><, Pseudo Engineer, itinerant idiot _______________________________________________ gnome-vfs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/gnome-vfs