Update generator

This commit is contained in:
Sasha Koshka 2024-03-14 03:20:47 -04:00
parent f58c01be52
commit 6be48aea28
2 changed files with 3 additions and 3 deletions

View File

@ -10,7 +10,7 @@ func (this *generator) generateFunction (
error,
) {
key := entity.Key {
Unit: function.Unit,
Unit: function.Unit(),
Name: function.Signature.Name,
}
@ -60,7 +60,7 @@ func (this *generator) generateMethod (
error,
) {
key := entity.Key {
Unit: method.Unit,
Unit: method.Unit(),
Name: method.TypeName,
Method: method.Signature.Name,
}

View File

@ -11,7 +11,7 @@ func (this *generator) generateTypedef (
error,
) {
key := entity.Key {
Unit: def.Unit,
Unit: def.Unit(),
Name: def.Name,
}
irType, err := this.generateType(def.Type)