diff options
author | bloodstalker <thabogre@gmail.com> | 2018-07-02 12:20:17 +0000 |
---|---|---|
committer | bloodstalker <thabogre@gmail.com> | 2018-07-02 12:20:17 +0000 |
commit | e83ae1b59160627bef19c519ba13817dd5ee88b6 (patch) | |
tree | 1e9af360fbfca0d27594474b432126a67eba38c6 /text.py | |
parent | update (diff) | |
download | faultreiber-e83ae1b59160627bef19c519ba13817dd5ee88b6.tar.gz faultreiber-e83ae1b59160627bef19c519ba13817dd5ee88b6.zip |
update
Diffstat (limited to 'text.py')
-rw-r--r-- | text.py | 14 |
1 files changed, 13 insertions, 1 deletions
@@ -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" |