]> git.ozlabs.org Git - ccan/blob - ccan/tcon/_info
67923a0aecf61f497d38857bc492bb67eb7cde6a
[ccan] / ccan / tcon / _info
1 #include "config.h"
2 #include <string.h>
3
4 /**
5  * tcon - routines for creating typesafe generic containers
6  *
7  * This code lets users create a structure with a typecanary; your API
8  * is then a set of macros which check the type canary before calling
9  * the generic routines.
10  *
11  * License: Public domain
12  *
13  * Author: Rusty Russell <rusty@rustcorp.com.au>
14  */
15 int main(int argc, char *argv[])
16 {
17         /* Expect exactly one argument */
18         if (argc != 2)
19                 return 1;
20
21         if (strcmp(argv[1], "depends") == 0) {
22                 return 0;
23         }
24
25         return 1;
26 }