summaryrefslogtreecommitdiff
path: root/src/iterator.h
blob: bf53112d08fca6f2e5baf68b3b4cbffef3d71165 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef CMARK_ITERATOR_H
#define CMARK_ITERATOR_H

#ifdef __cplusplus
extern "C" {
#endif

#include "cmark.h"
#include "node.h"

struct cmark_iter {
	cmark_node       *current;
	cmark_node       *root;
	cmark_event_type event_type;
};

#ifdef __cplusplus
}
#endif

#endif