Lines Matching full:foo
40 * Consider the following user struct @c Foo which shall be used as scalar
43 * typedef struct Foo {
46 * } Foo;
48 * and assume it has the following function to free memory allocated by @c Foo
51 * void free_foo(Foo *foo) {
52 * free(foo->s);
57 * P9ARRAY_DECLARE_TYPE(Foo);
61 * P9ARRAY_DEFINE_TYPE(Foo, free_foo);
66 * P9ARRAY_REF(Foo) foos = NULL;
67 * P9ARRAY_NEW(Foo, foos, n);
71 * snprintf(foos[i].s, 4096, "foo %d", i);