|
|
|
@ -261,9 +261,6 @@ namespace CppSharp.Generators.Registrable.Lua.Sol
@@ -261,9 +261,6 @@ namespace CppSharp.Generators.Registrable.Lua.Sol
|
|
|
|
|
|
|
|
|
|
public virtual bool CanGenerateNamespace(Namespace @namespace) |
|
|
|
|
{ |
|
|
|
|
// if not self:isNonTemplateAllowed(context) then
|
|
|
|
|
// return true
|
|
|
|
|
// end
|
|
|
|
|
if (AlreadyVisited(@namespace)) |
|
|
|
|
{ |
|
|
|
|
return false; |
|
|
|
@ -272,6 +269,10 @@ namespace CppSharp.Generators.Registrable.Lua.Sol
@@ -272,6 +269,10 @@ namespace CppSharp.Generators.Registrable.Lua.Sol
|
|
|
|
|
{ |
|
|
|
|
return false; |
|
|
|
|
} |
|
|
|
|
else if (!NonTemplateAllowed) |
|
|
|
|
{ |
|
|
|
|
return false; |
|
|
|
|
} |
|
|
|
|
return @namespace.IsGenerated; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -466,9 +467,6 @@ namespace CppSharp.Generators.Registrable.Lua.Sol
@@ -466,9 +467,6 @@ namespace CppSharp.Generators.Registrable.Lua.Sol
|
|
|
|
|
|
|
|
|
|
public virtual bool CanGenerateEnumDecl(Enumeration enumeration) |
|
|
|
|
{ |
|
|
|
|
// if not self:isNonTemplateAllowed(context) then
|
|
|
|
|
// return true
|
|
|
|
|
// end
|
|
|
|
|
if (AlreadyVisited(enumeration)) |
|
|
|
|
{ |
|
|
|
|
return false; |
|
|
|
@ -477,6 +475,10 @@ namespace CppSharp.Generators.Registrable.Lua.Sol
@@ -477,6 +475,10 @@ namespace CppSharp.Generators.Registrable.Lua.Sol
|
|
|
|
|
{ |
|
|
|
|
return false; |
|
|
|
|
} |
|
|
|
|
else if (!NonTemplateAllowed) |
|
|
|
|
{ |
|
|
|
|
return false; |
|
|
|
|
} |
|
|
|
|
return enumeration.IsGenerated; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|