aboutsummaryrefslogtreecommitdiff
path: root/src/iterator.h
blob: bf53112d08fca6f2e5baf68b3b4cbffef3d71165 (plain)
  1. #ifndef CMARK_ITERATOR_H
  2. #define CMARK_ITERATOR_H
  3. #ifdef __cplusplus
  4. extern "C" {
  5. #endif
  6. #include "cmark.h"
  7. #include "node.h"
  8. struct cmark_iter {
  9. cmark_node *current;
  10. cmark_node *root;
  11. cmark_event_type event_type;
  12. };
  13. #ifdef __cplusplus
  14. }
  15. #endif
  16. #endif