summaryrefslogtreecommitdiff
path: root/src/glibext/gbuffersegment.h
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2016-10-22 21:45:55 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2016-10-22 21:45:55 (GMT)
commitfa30b0fb42d2e229de9f760bfa842f25738efc18 (patch)
tree27bdc4c0ddad3a81acbc380ffd79b8cb96e1b96d /src/glibext/gbuffersegment.h
parent40886e00da4c593227cecf3ab574f9c5d230b089 (diff)
Made all segments share their content to save memory.
Diffstat (limited to 'src/glibext/gbuffersegment.h')
-rw-r--r--src/glibext/gbuffersegment.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/glibext/gbuffersegment.h b/src/glibext/gbuffersegment.h
index 57e3575..911df7b 100644
--- a/src/glibext/gbuffersegment.h
+++ b/src/glibext/gbuffersegment.h
@@ -36,6 +36,18 @@
typedef struct _segcnt_list segcnt_list;
+
+/* ----------------------- ISOLATION DE CONTENUS PARTAGEABLES ----------------------- */
+
+
+/* Initialise la table mémorisant les contenus pour segments. */
+bool init_segment_content_hash_table(void);
+
+/* Organise la sortie de la table des contenus pour segments. */
+void exit_segment_content_hash_table(void);
+
+
+
/* -------------------- NATURE DE BASE POUR UN FRAGMENT DE TEXTE -------------------- */