generator: Fix accessing EqualityName for GArray*s
This commit is contained in:
parent
939111a348
commit
57ea279ceb
1 changed files with 3 additions and 1 deletions
|
@ -89,7 +89,9 @@ namespace GtkSharp.Generation {
|
|||
string wrapped_name = SymbolTable.Table.MangleName (CName);
|
||||
IGeneratable gen = table [CType];
|
||||
|
||||
if (IsArray || gen is IAccessor)
|
||||
if (IsArray && IsNullTermArray)
|
||||
return StudlyName + "Ptr";
|
||||
else if (IsArray || gen is IAccessor)
|
||||
return Access == "public" ? StudlyName : Name;
|
||||
else if (IsBitfield)
|
||||
return Name;
|
||||
|
|
Loading…
Reference in a new issue