aboutsummaryrefslogtreecommitdiffstats
path: root/text.py
diff options
context:
space:
mode:
authorbloodstalker <thabogre@gmail.com>2018-07-02 12:20:17 +0000
committerbloodstalker <thabogre@gmail.com>2018-07-02 12:20:17 +0000
commite83ae1b59160627bef19c519ba13817dd5ee88b6 (patch)
tree1e9af360fbfca0d27594474b432126a67eba38c6 /text.py
parentupdate (diff)
downloadfaultreiber-e83ae1b59160627bef19c519ba13817dd5ee88b6.tar.gz
faultreiber-e83ae1b59160627bef19c519ba13817dd5ee88b6.zip
update
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"