X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;f=include%2Fmarkdown.h;h=f38a6469e593ff62c8ffb998736f481e08873172;hb=6d627bac82f84e39beda51981ddf3a6ddabbbe78;hp=b803f81707fdc1011588c4011893651258ab2a68;hpb=7fc5d3a79deb7bc3ac8faffb6d295c6c3a9154d2;p=smdp.git diff --git a/include/markdown.h b/include/markdown.h index b803f81..f38a646 100644 --- a/include/markdown.h +++ b/include/markdown.h @@ -32,6 +32,8 @@ * function: next_slide to extend a linked list of type slide by one element * function: new_line to initialize a new linked list of type line * function: next_line to extend a linked list of type line by one element + * function: free_line to free a line elements memory + * function: free_deck to free a deck's memory * */ @@ -82,6 +84,7 @@ line_t *next_line(line_t *prev); slide_t *new_slide(); slide_t *next_slide(slide_t *prev); deck_t *new_deck(); +void free_line(line_t *l); void free_deck(deck_t *); #endif // !defined( MARKDOWN_H )