about summary refs log tree commit diff stats
path: root/test/analysis/mem.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/analysis/mem.py')
-rw-r--r--test/analysis/mem.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/analysis/mem.py b/test/analysis/mem.py
index 90022fe9..b6664cd2 100644
--- a/test/analysis/mem.py
+++ b/test/analysis/mem.py
@@ -23,7 +23,9 @@ class MyStruct(PinnedStruct):
         # Number field: just struct.pack fields with one value
         ("num", Num("I")),
         ("flags", Num("B")),
-        # TODO: comment
+        # This field is a pointer to another struct, it has a numeric
+        # value (mystruct.other.val) and can be dereferenced to get an
+        # OtherStruct instance (mystruct.other.deref)
         ("other", Ptr("I", OtherStruct)),
         # Ptr to a variable length String
         ("s", Ptr("I", Str())),