aboutsummaryrefslogtreecommitdiffstats
path: root/text.py
diff options
context:
space:
mode:
Diffstat (limited to 'text.py')
-rw-r--r--text.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/text.py b/text.py
index 6877897..2562311 100644
--- a/text.py
+++ b/text.py
@@ -33,7 +33,9 @@ class text():
c_read_4 = "read(_fd, &XXX, sizeof(uint32_t));\n"
c_read_8 = "read(_fd, &XXX, sizeof(uint64_t));\n"
c_read_gen = "read(_fd, &XXX, sizeof(YYY));\n"
+ c_read_gen_no = "read(_fd, XXX, sizeof(YYY));\n"
c_read_gen_2 = "read(_fd, &XXX, YYY);\n"
+ c_read_gen_2_no = "read(_fd, XXX, YYY);\n"
c_assign_struct = "XXX.YYY = ZZZ;\n"
simple_loop = "for (int i = 0; i < XXX; ++i) {\nYYY}\n"
c_read_leb_u_def = """