diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2021-02-23 23:34:25 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2021-02-23 23:36:46 (GMT) |
commit | a79d209385fca4e74a6a85b2386be71ec23057bb (patch) | |
tree | a2f302fde6560c8e220abd738e50a455be936c88 /src/analysis/storage | |
parent | dc3be188b42a90404d0655c250e6697f5a55b862 (diff) |
Prepare mechanisms to load and store data types.
Diffstat (limited to 'src/analysis/storage')
-rw-r--r-- | src/analysis/storage/serialize-int.h | 3 | ||||
-rw-r--r-- | src/analysis/storage/serialize.c | 4 | ||||
-rw-r--r-- | src/analysis/storage/serialize.h | 1 |
3 files changed, 5 insertions, 3 deletions
diff --git a/src/analysis/storage/serialize-int.h b/src/analysis/storage/serialize-int.h index e7690d5..b4eb815 100644 --- a/src/analysis/storage/serialize-int.h +++ b/src/analysis/storage/serialize-int.h @@ -28,6 +28,9 @@ #include "serialize.h" +#include "storage.h" + + /* Charge un objet depuis une mémoire tampon. */ typedef bool (* load_serializable_object_cb) (GSerializableObject *, GObjectStorage *, packed_buffer *); diff --git a/src/analysis/storage/serialize.c b/src/analysis/storage/serialize.c index 43a231a..bee8fe4 100644 --- a/src/analysis/storage/serialize.c +++ b/src/analysis/storage/serialize.c @@ -57,7 +57,7 @@ static void g_serializable_object_default_init(GSerializableObjectInterface *ifa /****************************************************************************** * * -* Paramètres : object = instruction d'assemblage à consulter. * +* Paramètres : object = élément GLib à constuire. * * storage = conservateur de données à manipuler ou NULL. * * pbuf = zone tampon à remplir. * * * @@ -85,7 +85,7 @@ bool g_serializable_object_load(GSerializableObject *object, GObjectStorage *sto /****************************************************************************** * * -* Paramètres : object = instruction d'assemblage à consulter. * +* Paramètres : object = élément GLib à consulter. * * storage = conservateur de données à manipuler ou NULL. * * pbuf = zone tampon à remplir. * * * diff --git a/src/analysis/storage/serialize.h b/src/analysis/storage/serialize.h index 96234c1..e218c84 100644 --- a/src/analysis/storage/serialize.h +++ b/src/analysis/storage/serialize.h @@ -28,7 +28,6 @@ #include <glib-object.h> -#include "tpmem.h" #include "../../common/packed.h" |