|
|
|
@ -223,7 +223,7 @@ namespace CppSharp.Generators.CSharp
@@ -223,7 +223,7 @@ namespace CppSharp.Generators.CSharp
|
|
|
|
|
// Generate all the internal function declarations.
|
|
|
|
|
foreach (var function in context.Functions) |
|
|
|
|
{ |
|
|
|
|
if (!function.IsInternal) continue; |
|
|
|
|
if (!function.IsGenerated && !function.IsInternal ) continue; |
|
|
|
|
|
|
|
|
|
GenerateInternalFunction(function); |
|
|
|
|
} |
|
|
|
@ -2657,7 +2657,7 @@ namespace CppSharp.Generators.CSharp
@@ -2657,7 +2657,7 @@ namespace CppSharp.Generators.CSharp
|
|
|
|
|
|
|
|
|
|
public void GenerateInternalFunction(Function function) |
|
|
|
|
{ |
|
|
|
|
if (!function.IsInternal || function.IsPure) |
|
|
|
|
if (function.IsPure) |
|
|
|
|
return; |
|
|
|
|
|
|
|
|
|
if (function.OriginalFunction != null) |
|
|
|
|