mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-22 20:35:37 +00:00
generator: Fix accessing EqualityName for GArray*s
This commit is contained in:
parent
939111a348
commit
57ea279ceb
|
@ -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