Skip to content

pygccxml fails in enum/typedef hash function #70

@dermont123

Description

@dermont123

` File "./../pygccxml/declarations/enumeration.py", line 51, in hash
return super(enumeration_t, self).hash(self)
TypeError: hash() takes exactly 1 argument (2 given)

def __hash__(self):
    return super(enumeration_t, self).__hash__()
   -->  #return super(enumeration_t, self).__hash__(self)

def __hash__(self):
    return super(typedef_t, self).__hash__()
    --> #return super(typedef_t, self).__hash__(self)

`
hash.zip

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions