diff src/list/listContext.h @ 35:2bdd8e2118c7

Add tail pointer to List data segment
author Tatsuki IHA <e125716@ie.u-ryukyu.ac.jp>
date Tue, 05 May 2015 21:16:04 +0900
parents c3314208d7b9
children 2ff693c5563c
line wrap: on
line diff
--- a/src/list/listContext.h	Tue May 05 18:07:12 2015 +0900
+++ b/src/list/listContext.h	Tue May 05 21:16:04 2015 +0900
@@ -36,6 +36,7 @@
     long count;
     struct List {
         union Data* head;
+        union Data* tail;
         union Data* current;
     } list;
     struct Element {