From f7be1cb5e77a527dc9c6cad677e3b9cf19ab9027 Mon Sep 17 00:00:00 2001 From: triton Date: Wed, 21 Aug 2013 03:15:28 +0100 Subject: [PATCH] Added original function property to keep the original function where this one was synthetized from. --- src/AST/Function.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/AST/Function.cs b/src/AST/Function.cs index e478fcd6..f6a55871 100644 --- a/src/AST/Function.cs +++ b/src/AST/Function.cs @@ -132,6 +132,8 @@ namespace CppSharp.AST public FunctionSynthKind SynthKind { get; set; } + public Function OriginalFunction { get; set; } + public string Mangled { get; set; } public override T Visit(IDeclVisitor visitor)