mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2025-01-11 05:25:35 +00:00
generator: ignore private structs completely
Don't spam the log with these messages for private structs (and don't count this in the statistics), as there are too many. These kind of types are just empty structs marked as hidden and private.
This commit is contained in:
parent
c3f7b8e32b
commit
5f271e04fa
|
@ -32,6 +32,8 @@ namespace GtkSharp.Generation {
|
|||
{
|
||||
log.Member = Name;
|
||||
if (!Ignored && !Hidden && CSType == "") {
|
||||
if (Name == "Priv")
|
||||
return false;
|
||||
log.Warn ("field has unknown type: " + CType);
|
||||
Statistics.ThrottledCount++;
|
||||
return false;
|
||||
|
|
Loading…
Reference in a new issue