aboutsummaryrefslogtreecommitdiffstats
path: root/text.py
diff options
context:
space:
mode:
Diffstat (limited to 'text.py')
-rw-r--r--text.py14
1 files changed, 13 insertions, 1 deletions
diff --git a/text.py b/text.py
index d321923..d71e78b 100644
--- a/text.py
+++ b/text.py
@@ -1,4 +1,16 @@
# _*_ coding=utf-8 _*_
-class Text():
+class text():
+ header_list = """#include <fcntl.h>\n
+ #include <inttypes.h>\n
+ #include <stdio.h>\n
+ #include <stdlib.h>\n
+ #include <unistd.h>\n"""
+ header_inttype = "#include <inttypes.h>\n"
main_sig = 'int main(int argc, char** argv)'
+ pragma_weak_main = '#pragma weak main'
+ pre_header_guard = "\n// first line intentionally left blank\n"
+ header_guard_begin = "#ifndef _AUTO_XXX_H\n#define _AUTO_XXX_H\n"
+ pragma_endif = "#endif\n"
+ autogen_warning = "// this file has been automatically generated by faultreiber\n"
+ last_comment = "// last line intentionally left blank\n\n"