Update generator
This commit is contained in:
parent
f58c01be52
commit
6be48aea28
@ -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,
|
||||
}
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user