summaryrefslogtreecommitdiff
path: root/src/analysis
diff options
context:
space:
mode:
Diffstat (limited to 'src/analysis')
-rw-r--r--src/analysis/storage/storage.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/analysis/storage/storage.h b/src/analysis/storage/storage.h
index 43860af..0d35d78 100644
--- a/src/analysis/storage/storage.h
+++ b/src/analysis/storage/storage.h
@@ -55,6 +55,14 @@ GType g_object_storage_get_type(void);
/* Crée le support d'une conservation d'objets en place. */
GObjectStorage *g_object_storage_new(const char *);
+#define get_storage_linked_format(s) \
+ ({ \
+ void*__result; \
+ __result = g_object_get_data(G_OBJECT(s), "format"); \
+ g_object_ref(G_OBJECT(__result)); \
+ __result; \
+ })
+
/* Charge le support d'une conservation d'objets en place. */
GObjectStorage *g_object_storage_load(packed_buffer_t *);