Changeset 32e3cdf in mainline
- Timestamp:
- 2014-08-27T18:05:45Z (10 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 713b8ce7
- Parents:
- 4be73ba
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tools/autogen.py
r4be73ba r32e3cdf 55 55 for i in range(len(struct['members'])): 56 56 member = struct['members'][i] 57 code = code + ("\temit_constant(OFFSET_%s, offsetof(%s_t, %s));\n" % 58 (member['name'].upper(), struct['name'], member['name'])) 57 code = code + ("\temit_constant(%s_OFFSET_%s, offsetof(%s_t, %s));\n" % 58 (struct['name'].upper(), member['name'].upper(), struct['name'], 59 member['name'])) 59 60 return code 60 61
Note:
See TracChangeset
for help on using the changeset viewer.