encoders.py | raw changeset files shortlog | trailing-data |
1.1 --- a/encoders.py Wed Jul 11 23:53:09 2018 +0200 1.2 +++ b/encoders.py Thu Jul 12 00:15:16 2018 +0200 1.3 @@ -505,6 +505,15 @@ 1.4 1.5 return "__constvalue%s" % n 1.6 1.7 +def encode_trailing_area(path): 1.8 + 1.9 + """ 1.10 + Encode any reference to trailing data members for instances of the type 1.11 + given by 'path'. 1.12 + """ 1.13 + 1.14 + return "__TRAILING_%s" % encode_path(path) 1.15 + 1.16 1.17 1.18 # Track all encoded paths, detecting and avoiding conflicts.