Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
@ -120,6 +120,7 @@ namespace CppSharp.Passes
var function = decl as Function;
if (function != null && function.SynthKind != FunctionSynthKind.AdjustedMethod)
{
declarations.Add(function.Namespace);
// account for overloads
declarations.AddRange(GetFunctionsWithTheSameParams(function));
}
@ -41,6 +41,10 @@ void Foo::setNoParams()
void Foo::foo(int i)
const int Foo::rename;
int Foo::makeFunctionCall()
@ -16,6 +16,7 @@ public:
int (STDCALL *attributedFunctionPtr)();
bool isNoParams();
void setNoParams();
void foo(int i);
static const int rename = 5;
static int makeFunctionCall();