6 * tal/talloc - an implementation of the tal interface in terms of talloc.
8 * Tal and talloc are both hierarchical allocators, but have different APIs.
9 * The tal API is mostly a subset of talloc, but if your project already
10 * uses talloc then having both tal and talloc pointers is confusing, and
11 * a waste of resources.
13 * The standard convention to tell ccan modules to use this instead of
14 * ccan/tal is to define TAL_USE_TALLOC, usually on the commandline.
17 * tal_first() and tal_next() can't be implemented.
18 * tal_set_backend() can only change the error function.
22 int main(int argc, char *argv[])
27 if (strcmp(argv[1], "depends") == 0) {
28 printf("ccan/take\n");
29 printf("ccan/typesafe_cb\n");
30 printf("ccan/compiler\n");
31 printf("ccan/likely\n");
37 if (strcmp(argv[1], "libs") == 0) {