diff options
author | dx <aryadevchavali1@gmail.com> | 2020-05-20 14:30:58 +0100 |
---|---|---|
committer | dx <aryadevchavali1@gmail.com> | 2020-05-20 14:30:58 +0100 |
commit | e2475b23c77b0f37a1195df66a8a6728da4170d9 (patch) | |
tree | 4b4d8e2c329ea24bf30e69cbea061d550524dcae /Converter/includes/compiler.h | |
parent | 6c7760385b32c093e88cdc49f889446db4a9a856 (diff) | |
download | mdhtml-e2475b23c77b0f37a1195df66a8a6728da4170d9.tar.gz mdhtml-e2475b23c77b0f37a1195df66a8a6728da4170d9.tar.bz2 mdhtml-e2475b23c77b0f37a1195df66a8a6728da4170d9.zip |
+docs for each function
Diffstat (limited to 'Converter/includes/compiler.h')
-rw-r--r-- | Converter/includes/compiler.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Converter/includes/compiler.h b/Converter/includes/compiler.h index df9c9b1..8f81ff8 100644 --- a/Converter/includes/compiler.h +++ b/Converter/includes/compiler.h @@ -8,8 +8,11 @@ typedef char *string; const static char TOKENS[] = {'*', '_'}; const static size_t N_TOKENS = 2; +/* Compile markdown line to HTML line */ string compile_line(string line, size_t sz_line, string line_or_source); +/* Given a source string, find a given substring, returning it's index of occurence*/ int find_string(string src, string query, size_t sz_src, size_t sz_query); +/* Check if a given character is a text token*/ bool is_token(char c); #endif // __COMPILER_H_ |