basechain = "NULL"
tp_flags = "Py_TPFLAGS_DEFAULT"
basetype = None
+ argref = "" # set to "*" if arg to <type>_New should be pointer
def __init__(self, name, prefix, itselftype):
"""ObjectDefinition constructor. May be extended, but do not override.
self.itselftype = itselftype
self.objecttype = name + 'Object'
self.typename = name + '_Type'
- self.argref = "" # set to "*" if arg to <type>_New should be pointer
self.static = "static " # set to "" to make <type>_New and <type>_Convert public
self.modulename = None
if hasattr(self, "assertions"):