You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
441 B
23 lines
441 B
#include <bowl.h>
|
|
|
|
int main()
|
|
{
|
|
|
|
// Root node which contains a list
|
|
struct bowl *root;
|
|
bowl_malloc(&root, ARRAY);
|
|
|
|
struct bowl *a;
|
|
data_malloc(&a, LITERAL, "Destroy capitalism");
|
|
bowl_append(root, a);
|
|
|
|
struct bowl *b;
|
|
data_malloc(&b, INTEGER, 1312);
|
|
bowl_append(root, b);
|
|
|
|
struct bowl *c;
|
|
data_malloc(&c, LITERAL, "Alerta, Antifascista!");
|
|
bowl_append(root, c);
|
|
|
|
return bowl_free(root);
|
|
}
|
|
|