kolibrios/programs/cmm/examples/collections.c
Kirill Lipatov (Leency) a950d94c01 C-- basic Collections support (lib/collection.h)
git-svn-id: svn://kolibrios.org@5959 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-12-13 13:28:06 +00:00

17 lines
292 B
C

#define MEMSIZE 4096*10
#include "../lib/io.h"
#include "../lib/collection.h"
void main()
{
collection s;
io.run("/sys/develop/board", "");
s.init(4096);
s.add("lorem");
s.add("ipsum");
s.add("1234566");
debugln(s.get(0));
debugln(s.get(1));
debugln(s.get(2));
}