diff options
author | dx <aryadevchavali1@gmail.com> | 2020-05-06 03:21:09 +0100 |
---|---|---|
committer | dx <aryadevchavali1@gmail.com> | 2020-05-06 03:43:13 +0100 |
commit | c57d3886e05fbea9a45b18b069f112ecbae42151 (patch) | |
tree | f0a050aac55aa698d92fee44b57c01e5a1332edc /Converter/includes/compiler.h | |
parent | acb0e6b2bf944c096eee6dd5c3cf54df0e4b7b6e (diff) | |
download | mdhtml-c57d3886e05fbea9a45b18b069f112ecbae42151.tar.gz mdhtml-c57d3886e05fbea9a45b18b069f112ecbae42151.tar.bz2 mdhtml-c57d3886e05fbea9a45b18b069f112ecbae42151.zip |
+introduced compiler.h and compiler.c
compiler.h holds definitions necessary for compiling markdown,
compiler.c the implementations.
Moved implementation of compile_line to compiler.h and compiler.c respectively.
Diffstat (limited to 'Converter/includes/compiler.h')
-rw-r--r-- | Converter/includes/compiler.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Converter/includes/compiler.h b/Converter/includes/compiler.h new file mode 100644 index 0000000..b0b6d43 --- /dev/null +++ b/Converter/includes/compiler.h @@ -0,0 +1,8 @@ +#ifndef __COMPILER_H_ +#define __COMPILER_H_ + +#include <stdlib.h> +typedef char *string; +string compile_line(string line, size_t size_of_line); + +#endif // __COMPILER_H_ |