kolibrios/programs/cmm/examples/collections.c
Kirill Lipatov (Leency) 63cc280c5f collection.h: dynamic memory allocation
git-svn-id: svn://kolibrios.org@5965 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-12-15 16:18:38 +00:00

16 lines
258 B
C

#define MEMSIZE 4096*120
#include "../lib/io.h"
#include "../lib/collection.h"
void main()
{
collection s;
int i;
io.run("/sys/develop/board", "");
s.add("Hello");
s.add("World!");
debugln(s.get(0));
debugln(s.get(1));
s.drop();
}