]> git.ozlabs.org Git - ccan/blobdiff - tools/doc_extract.h
take: add labels when CCAN_TAKE_DEBUG set, return in taken_any().
[ccan] / tools / doc_extract.h
index 5dca49bac8e7e5956bc975f756b82e9ec3fb926d..d5bc693a5800b694b2f71bedb4e01cd8e542e127 100644 (file)
@@ -7,9 +7,11 @@ struct doc_section {
        struct list_node list;
        const char *function;
        const char *type;
+       /* Where did I come from? */
+       unsigned int srcline;
        unsigned int num_lines;
        char **lines;
 };
 
-struct list_head *extract_doc_sections(char **rawlines, unsigned int num);
+struct list_head *extract_doc_sections(char **rawlines, const char *file);
 #endif /* _DOC_EXTRACT_CORE_H */