pinosaur
/
smdp.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add line length and make it utf-8 compatible
[smdp.git]
/
include
/
parser.h
diff --git
a/include/parser.h
b/include/parser.h
index
7ade17c
..
091c3d5
100644
(file)
--- a/
include/parser.h
+++ b/
include/parser.h
@@
-6,6
+6,7
@@
document_t *markdown_load(FILE *input);
int markdown_analyse(cstring_t *text);
int is_utf8(char ch);
+int length_utf8(char ch);
int next_nonblank(cstring_t *text, int i);
int next_blank(cstring_t *text, int i);