#include #include #include #include "linearray.h" // ----------------------------- // ----------------------------- LineArray LineArrayNew(VOID) { #define SIZE_LINEPTR 2 return NewArray(SIZE_LINEPTR); } VOID LineArrayAppend(LineArray array, LINEPTR value) { AppendToArray(LINEPTR, array, value); } VOID LineArrayFree(LineArray array) { ArrayForEach(LINEPTR, aLine, array, LineFree(aLine);); DeleteArray(array); } LINEPTR* LineArrayValues(LineArray array) { return ArrayValues(LINEPTR, array); } // ----------------------------------------------- // -----------------------------------------------