Re: saving GArray contents to binary file
- From: Tristan Van Berkom <tristan van berkom gmail com>
- To: edward hage <edha xs4all nl>
- Cc: Maciej Katafiasz <mnews22 wp pl>, gtk-app-devel-list gnome org
- Subject: Re: saving GArray contents to binary file
- Date: Sun, 10 Oct 2004 18:15:27 -0400
On Sun, 10 Oct 2004 23:11:35 +0200, edward hage <edha xs4all nl> wrote:
[...]
MY QUESTIONS:
1) I want to save GArray's of structs with pointers to data, for which data
in turn also have pointers to other data. Is there a good way to save the whole
data-tree at once to a binary file?
There is no out-of-the-box easy way that I know of to serialize data objects
in memory, I would suggest that you write foo_serialize_data() and
create_foo_from_serialized_data() functions to load and save data objects
from/to memory.
Cheers,
-Tristan
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]