Browse Source

fxconv: add synonyms Structure=ObjectData and ptr=ref

master
Lephenixnoir 5 months ago
parent
commit
bc7cd928f4
Signed by: Lephenixnoir GPG Key ID: 1BBA026E13FC0495
  1. 4
      fxconv/fxconv.py

4
fxconv/fxconv.py

@ -169,6 +169,8 @@ def ref(base, offset=None, padding=None):
raise FxconvError(f"invalid type {type(base)} for ref()")
ptr = ref
def sym(name):
return Sym("_" + name)
@ -228,6 +230,8 @@ class ObjectData:
assembly += f".long {name} + {offset}\n"
return assembly
Structure = ObjectData
#
# Area specifications
#

Loading…
Cancel
Save