Browse Source

Re-generated the parser bindings with IsExplicit.

pull/234/head
triton 11 years ago
parent
commit
baa08c8e8c
  1. 20
      src/CppParser/Bindings/CLI/AST.cpp
  2. 6
      src/CppParser/Bindings/CLI/AST.h
  3. 80
      src/CppParser/Bindings/CSharp/AST.cs
  4. 6
      src/CppParser/Bindings/CSharp/CppParser.cs
  5. 80
      src/CppParser/Bindings/CSharp/i686-apple-darwin12.4.0/AST.cs
  6. 6
      src/CppParser/Bindings/CSharp/i686-apple-darwin12.4.0/CppParser.cs
  7. 4
      src/CppParser/Bindings/ParserGen.cs

20
src/CppParser/Bindings/CLI/AST.cpp

@ -590,6 +590,11 @@ CppSharp::Parser::AST::TemplateParameter::TemplateParameter(System::IntPtr nativ @@ -590,6 +590,11 @@ CppSharp::Parser::AST::TemplateParameter::TemplateParameter(System::IntPtr nativ
NativePtr = __native;
}
CppSharp::Parser::AST::TemplateParameter::TemplateParameter()
{
NativePtr = new ::CppSharp::CppParser::AST::TemplateParameter();
}
bool CppSharp::Parser::AST::TemplateParameter::operator==(CppSharp::Parser::AST::TemplateParameter^ __op, CppSharp::Parser::AST::TemplateParameter^ param)
{
auto &arg0 = *(::CppSharp::CppParser::AST::TemplateParameter*)__op->NativePtr;
@ -598,11 +603,6 @@ bool CppSharp::Parser::AST::TemplateParameter::operator==(CppSharp::Parser::AST: @@ -598,11 +603,6 @@ bool CppSharp::Parser::AST::TemplateParameter::operator==(CppSharp::Parser::AST:
return __ret;
}
CppSharp::Parser::AST::TemplateParameter::TemplateParameter()
{
NativePtr = new ::CppSharp::CppParser::AST::TemplateParameter();
}
System::IntPtr CppSharp::Parser::AST::TemplateParameter::__Instance::get()
{
return System::IntPtr(NativePtr);
@ -1670,6 +1670,16 @@ void CppSharp::Parser::AST::Method::IsImplicit::set(bool value) @@ -1670,6 +1670,16 @@ void CppSharp::Parser::AST::Method::IsImplicit::set(bool value)
((::CppSharp::CppParser::AST::Method*)NativePtr)->IsImplicit = value;
}
bool CppSharp::Parser::AST::Method::IsExplicit::get()
{
return ((::CppSharp::CppParser::AST::Method*)NativePtr)->IsExplicit;
}
void CppSharp::Parser::AST::Method::IsExplicit::set(bool value)
{
((::CppSharp::CppParser::AST::Method*)NativePtr)->IsExplicit = value;
}
bool CppSharp::Parser::AST::Method::IsOverride::get()
{
return ((::CppSharp::CppParser::AST::Method*)NativePtr)->IsOverride;

6
src/CppParser/Bindings/CLI/AST.h

@ -1238,6 +1238,12 @@ namespace CppSharp @@ -1238,6 +1238,12 @@ namespace CppSharp
void set(bool);
}
property bool IsExplicit
{
bool get();
void set(bool);
}
property bool IsOverride
{
bool get();

80
src/CppParser/Bindings/CSharp/AST.cs

@ -505,7 +505,7 @@ namespace CppSharp @@ -505,7 +505,7 @@ namespace CppSharp
[SuppressUnmanagedCodeSecurity]
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.ThisCall,
EntryPoint="??0TagType@AST@CppParser@CppSharp@@QAE@ABU0123@@Z")]
internal static extern global::System.IntPtr cctor_1(global::System.IntPtr instance, global::System.IntPtr _0);
internal static extern global::System.IntPtr cctor_2(global::System.IntPtr instance, global::System.IntPtr _0);
}
internal TagType(TagType.Internal* native)
@ -579,7 +579,7 @@ namespace CppSharp @@ -579,7 +579,7 @@ namespace CppSharp
[SuppressUnmanagedCodeSecurity]
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.ThisCall,
EntryPoint="??0ArrayType@AST@CppParser@CppSharp@@QAE@ABU0123@@Z")]
internal static extern global::System.IntPtr cctor_1(global::System.IntPtr instance, global::System.IntPtr _0);
internal static extern global::System.IntPtr cctor_2(global::System.IntPtr instance, global::System.IntPtr _0);
}
public enum ArraySize
@ -823,7 +823,7 @@ namespace CppSharp @@ -823,7 +823,7 @@ namespace CppSharp
[SuppressUnmanagedCodeSecurity]
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.ThisCall,
EntryPoint="??0PointerType@AST@CppParser@CppSharp@@QAE@ABU0123@@Z")]
internal static extern global::System.IntPtr cctor_1(global::System.IntPtr instance, global::System.IntPtr _0);
internal static extern global::System.IntPtr cctor_2(global::System.IntPtr instance, global::System.IntPtr _0);
}
public enum TypeModifier
@ -916,7 +916,7 @@ namespace CppSharp @@ -916,7 +916,7 @@ namespace CppSharp
[SuppressUnmanagedCodeSecurity]
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.ThisCall,
EntryPoint="??0MemberPointerType@AST@CppParser@CppSharp@@QAE@ABU0123@@Z")]
internal static extern global::System.IntPtr cctor_1(global::System.IntPtr instance, global::System.IntPtr _0);
internal static extern global::System.IntPtr cctor_2(global::System.IntPtr instance, global::System.IntPtr _0);
}
internal MemberPointerType(MemberPointerType.Internal* native)
@ -986,7 +986,7 @@ namespace CppSharp @@ -986,7 +986,7 @@ namespace CppSharp
[SuppressUnmanagedCodeSecurity]
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.ThisCall,
EntryPoint="??0TypedefType@AST@CppParser@CppSharp@@QAE@ABU0123@@Z")]
internal static extern global::System.IntPtr cctor_1(global::System.IntPtr instance, global::System.IntPtr _0);
internal static extern global::System.IntPtr cctor_2(global::System.IntPtr instance, global::System.IntPtr _0);
}
internal TypedefType(TypedefType.Internal* native)
@ -1057,7 +1057,7 @@ namespace CppSharp @@ -1057,7 +1057,7 @@ namespace CppSharp
[SuppressUnmanagedCodeSecurity]
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.ThisCall,
EntryPoint="??0AttributedType@AST@CppParser@CppSharp@@QAE@ABU0123@@Z")]
internal static extern global::System.IntPtr cctor_1(global::System.IntPtr instance, global::System.IntPtr _0);
internal static extern global::System.IntPtr cctor_2(global::System.IntPtr instance, global::System.IntPtr _0);
}
internal AttributedType(AttributedType.Internal* native)
@ -1150,7 +1150,7 @@ namespace CppSharp @@ -1150,7 +1150,7 @@ namespace CppSharp
[SuppressUnmanagedCodeSecurity]
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.ThisCall,
EntryPoint="??0DecayedType@AST@CppParser@CppSharp@@QAE@ABU0123@@Z")]
internal static extern global::System.IntPtr cctor_1(global::System.IntPtr instance, global::System.IntPtr _0);
internal static extern global::System.IntPtr cctor_2(global::System.IntPtr instance, global::System.IntPtr _0);
}
internal DecayedType(DecayedType.Internal* native)
@ -1397,7 +1397,7 @@ namespace CppSharp @@ -1397,7 +1397,7 @@ namespace CppSharp
[SuppressUnmanagedCodeSecurity]
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.ThisCall,
EntryPoint="??0TemplateSpecializationType@AST@CppParser@CppSharp@@QAE@ABU0123@@Z")]
internal static extern global::System.IntPtr cctor_2(global::System.IntPtr instance, global::System.IntPtr _0);
internal static extern global::System.IntPtr cctor_1(global::System.IntPtr instance, global::System.IntPtr _0);
[SuppressUnmanagedCodeSecurity]
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.ThisCall,
@ -1513,12 +1513,12 @@ namespace CppSharp @@ -1513,12 +1513,12 @@ namespace CppSharp
[SuppressUnmanagedCodeSecurity]
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.ThisCall,
EntryPoint="??0TemplateParameter@AST@CppParser@CppSharp@@QAE@XZ")]
internal static extern global::System.IntPtr ctor_1(global::System.IntPtr instance);
internal static extern global::System.IntPtr ctor_0(global::System.IntPtr instance);
[SuppressUnmanagedCodeSecurity]
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.ThisCall,
EntryPoint="??0TemplateParameter@AST@CppParser@CppSharp@@QAE@ABU0123@@Z")]
internal static extern global::System.IntPtr cctor_2(global::System.IntPtr instance, global::System.IntPtr _0);
internal static extern global::System.IntPtr cctor_1(global::System.IntPtr instance, global::System.IntPtr _0);
[SuppressUnmanagedCodeSecurity]
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.ThisCall,
@ -1562,7 +1562,7 @@ namespace CppSharp @@ -1562,7 +1562,7 @@ namespace CppSharp
public TemplateParameter()
{
__Instance = Marshal.AllocHGlobal(24);
Internal.ctor_1(__Instance);
Internal.ctor_0(__Instance);
}
public void Dispose()
@ -1630,7 +1630,7 @@ namespace CppSharp @@ -1630,7 +1630,7 @@ namespace CppSharp
[SuppressUnmanagedCodeSecurity]
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.ThisCall,
EntryPoint="??0TemplateParameterType@AST@CppParser@CppSharp@@QAE@ABU0123@@Z")]
internal static extern global::System.IntPtr cctor_1(global::System.IntPtr instance, global::System.IntPtr _0);
internal static extern global::System.IntPtr cctor_2(global::System.IntPtr instance, global::System.IntPtr _0);
[SuppressUnmanagedCodeSecurity]
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.ThisCall,
@ -1671,7 +1671,7 @@ namespace CppSharp @@ -1671,7 +1671,7 @@ namespace CppSharp
{
var __ptr = (Internal*)__Instance.ToPointer();
var __instance = Marshal.AllocHGlobal(24);
CppSharp.Parser.AST.TemplateParameter.Internal.cctor_2(__instance, new global::System.IntPtr(&__ptr->Parameter));
CppSharp.Parser.AST.TemplateParameter.Internal.cctor_1(__instance, new global::System.IntPtr(&__ptr->Parameter));
return (__instance == IntPtr.Zero) ? null : new CppSharp.Parser.AST.TemplateParameter(__instance);
}
@ -1705,7 +1705,7 @@ namespace CppSharp @@ -1705,7 +1705,7 @@ namespace CppSharp
[SuppressUnmanagedCodeSecurity]
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.ThisCall,
EntryPoint="??0TemplateParameterSubstitutionType@AST@CppParser@CppSharp@@QAE@ABU0123@@Z")]
internal static extern global::System.IntPtr cctor_1(global::System.IntPtr instance, global::System.IntPtr _0);
internal static extern global::System.IntPtr cctor_2(global::System.IntPtr instance, global::System.IntPtr _0);
}
internal TemplateParameterSubstitutionType(TemplateParameterSubstitutionType.Internal* native)
@ -1778,7 +1778,7 @@ namespace CppSharp @@ -1778,7 +1778,7 @@ namespace CppSharp
[SuppressUnmanagedCodeSecurity]
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.ThisCall,
EntryPoint="??0InjectedClassNameType@AST@CppParser@CppSharp@@QAE@ABU0123@@Z")]
internal static extern global::System.IntPtr cctor_1(global::System.IntPtr instance, global::System.IntPtr _0);
internal static extern global::System.IntPtr cctor_2(global::System.IntPtr instance, global::System.IntPtr _0);
[SuppressUnmanagedCodeSecurity]
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.ThisCall,
@ -1819,7 +1819,7 @@ namespace CppSharp @@ -1819,7 +1819,7 @@ namespace CppSharp
{
var __ptr = (Internal*)__Instance.ToPointer();
var __instance = Marshal.AllocHGlobal(28);
CppSharp.Parser.AST.TemplateSpecializationType.Internal.cctor_2(__instance, new global::System.IntPtr(&__ptr->TemplateSpecialization));
CppSharp.Parser.AST.TemplateSpecializationType.Internal.cctor_1(__instance, new global::System.IntPtr(&__ptr->TemplateSpecialization));
return (__instance == IntPtr.Zero) ? null : new CppSharp.Parser.AST.TemplateSpecializationType(__instance);
}
@ -1865,7 +1865,7 @@ namespace CppSharp @@ -1865,7 +1865,7 @@ namespace CppSharp
[SuppressUnmanagedCodeSecurity]
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.ThisCall,
EntryPoint="??0DependentNameType@AST@CppParser@CppSharp@@QAE@ABU0123@@Z")]
internal static extern global::System.IntPtr cctor_1(global::System.IntPtr instance, global::System.IntPtr _0);
internal static extern global::System.IntPtr cctor_2(global::System.IntPtr instance, global::System.IntPtr _0);
}
internal DependentNameType(DependentNameType.Internal* native)
@ -1915,7 +1915,7 @@ namespace CppSharp @@ -1915,7 +1915,7 @@ namespace CppSharp
[SuppressUnmanagedCodeSecurity]
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.ThisCall,
EntryPoint="??0PackExpansionType@AST@CppParser@CppSharp@@QAE@ABU0123@@Z")]
internal static extern global::System.IntPtr cctor_1(global::System.IntPtr instance, global::System.IntPtr _0);
internal static extern global::System.IntPtr cctor_2(global::System.IntPtr instance, global::System.IntPtr _0);
}
internal PackExpansionType(PackExpansionType.Internal* native)
@ -1968,7 +1968,7 @@ namespace CppSharp @@ -1968,7 +1968,7 @@ namespace CppSharp
[SuppressUnmanagedCodeSecurity]
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.ThisCall,
EntryPoint="??0BuiltinType@AST@CppParser@CppSharp@@QAE@ABU0123@@Z")]
internal static extern global::System.IntPtr cctor_1(global::System.IntPtr instance, global::System.IntPtr _0);
internal static extern global::System.IntPtr cctor_2(global::System.IntPtr instance, global::System.IntPtr _0);
}
internal BuiltinType(BuiltinType.Internal* native)
@ -2135,7 +2135,7 @@ namespace CppSharp @@ -2135,7 +2135,7 @@ namespace CppSharp
[SuppressUnmanagedCodeSecurity]
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.ThisCall,
EntryPoint="??0VTableLayout@AST@CppParser@CppSharp@@QAE@ABU0123@@Z")]
internal static extern global::System.IntPtr cctor_2(global::System.IntPtr instance, global::System.IntPtr _0);
internal static extern global::System.IntPtr cctor_1(global::System.IntPtr instance, global::System.IntPtr _0);
[SuppressUnmanagedCodeSecurity]
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.ThisCall,
@ -2337,7 +2337,7 @@ namespace CppSharp @@ -2337,7 +2337,7 @@ namespace CppSharp
{
var __ptr = (Internal*)__Instance.ToPointer();
var __instance = Marshal.AllocHGlobal(12);
CppSharp.Parser.AST.VTableLayout.Internal.cctor_2(__instance, new global::System.IntPtr(&__ptr->Layout));
CppSharp.Parser.AST.VTableLayout.Internal.cctor_1(__instance, new global::System.IntPtr(&__ptr->Layout));
return (__instance == IntPtr.Zero) ? null : new CppSharp.Parser.AST.VTableLayout(__instance);
}
@ -2489,7 +2489,7 @@ namespace CppSharp @@ -2489,7 +2489,7 @@ namespace CppSharp
{
var __ptr = (Internal*)__Instance.ToPointer();
var __instance = Marshal.AllocHGlobal(12);
CppSharp.Parser.AST.VTableLayout.Internal.cctor_2(__instance, new global::System.IntPtr(&__ptr->Layout));
CppSharp.Parser.AST.VTableLayout.Internal.cctor_1(__instance, new global::System.IntPtr(&__ptr->Layout));
return (__instance == IntPtr.Zero) ? null : new CppSharp.Parser.AST.VTableLayout(__instance);
}
@ -2625,7 +2625,7 @@ namespace CppSharp @@ -2625,7 +2625,7 @@ namespace CppSharp
[SuppressUnmanagedCodeSecurity]
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.ThisCall,
EntryPoint="??0Declaration@AST@CppParser@CppSharp@@QAE@ABU0123@@Z")]
internal static extern global::System.IntPtr cctor_2(global::System.IntPtr instance, global::System.IntPtr _0);
internal static extern global::System.IntPtr cctor_1(global::System.IntPtr instance, global::System.IntPtr _0);
[SuppressUnmanagedCodeSecurity]
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.ThisCall,
@ -3334,7 +3334,7 @@ namespace CppSharp @@ -3334,7 +3334,7 @@ namespace CppSharp
[SuppressUnmanagedCodeSecurity]
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.ThisCall,
EntryPoint="??0TypedefDecl@AST@CppParser@CppSharp@@QAE@ABU0123@@Z")]
internal static extern global::System.IntPtr cctor_1(global::System.IntPtr instance, global::System.IntPtr _0);
internal static extern global::System.IntPtr cctor_2(global::System.IntPtr instance, global::System.IntPtr _0);
[SuppressUnmanagedCodeSecurity]
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.ThisCall,
@ -3445,7 +3445,7 @@ namespace CppSharp @@ -3445,7 +3445,7 @@ namespace CppSharp
[SuppressUnmanagedCodeSecurity]
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.ThisCall,
EntryPoint="??0Parameter@AST@CppParser@CppSharp@@QAE@ABU0123@@Z")]
internal static extern global::System.IntPtr cctor_1(global::System.IntPtr instance, global::System.IntPtr _0);
internal static extern global::System.IntPtr cctor_2(global::System.IntPtr instance, global::System.IntPtr _0);
[SuppressUnmanagedCodeSecurity]
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.ThisCall,
@ -3949,6 +3949,9 @@ namespace CppSharp @@ -3949,6 +3949,9 @@ namespace CppSharp
internal bool IsImplicit;
[FieldOffset(184)]
internal bool IsExplicit;
[FieldOffset(185)]
internal bool IsOverride;
[FieldOffset(188)]
@ -4084,6 +4087,21 @@ namespace CppSharp @@ -4084,6 +4087,21 @@ namespace CppSharp
}
}
public bool IsExplicit
{
get
{
var __ptr = (Internal*)__Instance.ToPointer();
return __ptr->IsExplicit;
}
set
{
var __ptr = (Internal*)__Instance.ToPointer();
__ptr->IsExplicit = value;
}
}
public bool IsOverride
{
get
@ -4324,7 +4342,7 @@ namespace CppSharp @@ -4324,7 +4342,7 @@ namespace CppSharp
[SuppressUnmanagedCodeSecurity]
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.ThisCall,
EntryPoint="??0Item@Enumeration@AST@CppParser@CppSharp@@QAE@ABU01234@@Z")]
internal static extern global::System.IntPtr cctor_2(global::System.IntPtr instance, global::System.IntPtr _0);
internal static extern global::System.IntPtr cctor_1(global::System.IntPtr instance, global::System.IntPtr _0);
[SuppressUnmanagedCodeSecurity]
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.ThisCall,
@ -4434,7 +4452,7 @@ namespace CppSharp @@ -4434,7 +4452,7 @@ namespace CppSharp
var __ret = new CppSharp.Parser.AST.Enumeration.Item.Internal();
Internal.getItems_0(__Instance, new IntPtr(&__ret), i);
var __instance = Marshal.AllocHGlobal(128);
CppSharp.Parser.AST.Enumeration.Item.Internal.cctor_2(__instance, new global::System.IntPtr(&__ret));
CppSharp.Parser.AST.Enumeration.Item.Internal.cctor_1(__instance, new global::System.IntPtr(&__ret));
return (__instance == IntPtr.Zero) ? null : new CppSharp.Parser.AST.Enumeration.Item(__instance);
}
@ -4797,7 +4815,7 @@ namespace CppSharp @@ -4797,7 +4815,7 @@ namespace CppSharp
[SuppressUnmanagedCodeSecurity]
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.ThisCall,
EntryPoint="??0Field@AST@CppParser@CppSharp@@QAE@ABU0123@@Z")]
internal static extern global::System.IntPtr cctor_1(global::System.IntPtr instance, global::System.IntPtr _0);
internal static extern global::System.IntPtr cctor_2(global::System.IntPtr instance, global::System.IntPtr _0);
[SuppressUnmanagedCodeSecurity]
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.ThisCall,
@ -4929,7 +4947,7 @@ namespace CppSharp @@ -4929,7 +4947,7 @@ namespace CppSharp
[SuppressUnmanagedCodeSecurity]
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.ThisCall,
EntryPoint="??0AccessSpecifierDecl@AST@CppParser@CppSharp@@QAE@ABU0123@@Z")]
internal static extern global::System.IntPtr cctor_1(global::System.IntPtr instance, global::System.IntPtr _0);
internal static extern global::System.IntPtr cctor_2(global::System.IntPtr instance, global::System.IntPtr _0);
[SuppressUnmanagedCodeSecurity]
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.ThisCall,
@ -5527,7 +5545,7 @@ namespace CppSharp @@ -5527,7 +5545,7 @@ namespace CppSharp
var __ret = new CppSharp.Parser.AST.TemplateParameter.Internal();
Internal.getParameters_0(__Instance, new IntPtr(&__ret), i);
var __instance = Marshal.AllocHGlobal(24);
CppSharp.Parser.AST.TemplateParameter.Internal.cctor_2(__instance, new global::System.IntPtr(&__ret));
CppSharp.Parser.AST.TemplateParameter.Internal.cctor_1(__instance, new global::System.IntPtr(&__ret));
return (__instance == IntPtr.Zero) ? null : new CppSharp.Parser.AST.TemplateParameter(__instance);
}
@ -6413,7 +6431,7 @@ namespace CppSharp @@ -6413,7 +6431,7 @@ namespace CppSharp
[SuppressUnmanagedCodeSecurity]
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.ThisCall,
EntryPoint="??0PreprocessedEntity@AST@CppParser@CppSharp@@QAE@ABU0123@@Z")]
internal static extern global::System.IntPtr cctor_1(global::System.IntPtr instance, global::System.IntPtr _0);
internal static extern global::System.IntPtr cctor_2(global::System.IntPtr instance, global::System.IntPtr _0);
[SuppressUnmanagedCodeSecurity]
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.ThisCall,

6
src/CppParser/Bindings/CSharp/CppParser.cs

@ -511,7 +511,7 @@ namespace CppSharp @@ -511,7 +511,7 @@ namespace CppSharp
[SuppressUnmanagedCodeSecurity]
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.ThisCall,
EntryPoint="??0ParserDiagnostic@CppParser@CppSharp@@QAE@ABU012@@Z")]
internal static extern global::System.IntPtr cctor_2(global::System.IntPtr instance, global::System.IntPtr _0);
internal static extern global::System.IntPtr cctor_1(global::System.IntPtr instance, global::System.IntPtr _0);
[SuppressUnmanagedCodeSecurity]
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.ThisCall,
@ -679,7 +679,7 @@ namespace CppSharp @@ -679,7 +679,7 @@ namespace CppSharp
[SuppressUnmanagedCodeSecurity]
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.ThisCall,
EntryPoint="??0ParserResult@CppParser@CppSharp@@QAE@ABU012@@Z")]
internal static extern global::System.IntPtr cctor_2(global::System.IntPtr instance, global::System.IntPtr _0);
internal static extern global::System.IntPtr cctor_1(global::System.IntPtr instance, global::System.IntPtr _0);
[SuppressUnmanagedCodeSecurity]
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.ThisCall,
@ -742,7 +742,7 @@ namespace CppSharp @@ -742,7 +742,7 @@ namespace CppSharp
var __ret = new CppSharp.Parser.ParserDiagnostic.Internal();
Internal.getDiagnostics_0(__Instance, new IntPtr(&__ret), i);
var __instance = Marshal.AllocHGlobal(60);
CppSharp.Parser.ParserDiagnostic.Internal.cctor_2(__instance, new global::System.IntPtr(&__ret));
CppSharp.Parser.ParserDiagnostic.Internal.cctor_1(__instance, new global::System.IntPtr(&__ret));
return (__instance == IntPtr.Zero) ? null : new CppSharp.Parser.ParserDiagnostic(__instance);
}

80
src/CppParser/Bindings/CSharp/i686-apple-darwin12.4.0/AST.cs

@ -505,7 +505,7 @@ namespace CppSharp @@ -505,7 +505,7 @@ namespace CppSharp
[SuppressUnmanagedCodeSecurity]
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.Cdecl,
EntryPoint="_ZN8CppSharp9CppParser3AST7TagTypeC2ERKS2_")]
internal static extern void cctor_1(global::System.IntPtr instance, global::System.IntPtr _0);
internal static extern void cctor_2(global::System.IntPtr instance, global::System.IntPtr _0);
}
internal TagType(TagType.Internal* native)
@ -579,7 +579,7 @@ namespace CppSharp @@ -579,7 +579,7 @@ namespace CppSharp
[SuppressUnmanagedCodeSecurity]
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.Cdecl,
EntryPoint="_ZN8CppSharp9CppParser3AST9ArrayTypeC2ERKS2_")]
internal static extern void cctor_1(global::System.IntPtr instance, global::System.IntPtr _0);
internal static extern void cctor_2(global::System.IntPtr instance, global::System.IntPtr _0);
}
public enum ArraySize
@ -823,7 +823,7 @@ namespace CppSharp @@ -823,7 +823,7 @@ namespace CppSharp
[SuppressUnmanagedCodeSecurity]
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.Cdecl,
EntryPoint="_ZN8CppSharp9CppParser3AST11PointerTypeC2ERKS2_")]
internal static extern void cctor_1(global::System.IntPtr instance, global::System.IntPtr _0);
internal static extern void cctor_2(global::System.IntPtr instance, global::System.IntPtr _0);
}
public enum TypeModifier
@ -916,7 +916,7 @@ namespace CppSharp @@ -916,7 +916,7 @@ namespace CppSharp
[SuppressUnmanagedCodeSecurity]
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.Cdecl,
EntryPoint="_ZN8CppSharp9CppParser3AST17MemberPointerTypeC2ERKS2_")]
internal static extern void cctor_1(global::System.IntPtr instance, global::System.IntPtr _0);
internal static extern void cctor_2(global::System.IntPtr instance, global::System.IntPtr _0);
}
internal MemberPointerType(MemberPointerType.Internal* native)
@ -986,7 +986,7 @@ namespace CppSharp @@ -986,7 +986,7 @@ namespace CppSharp
[SuppressUnmanagedCodeSecurity]
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.Cdecl,
EntryPoint="_ZN8CppSharp9CppParser3AST11TypedefTypeC2ERKS2_")]
internal static extern void cctor_1(global::System.IntPtr instance, global::System.IntPtr _0);
internal static extern void cctor_2(global::System.IntPtr instance, global::System.IntPtr _0);
}
internal TypedefType(TypedefType.Internal* native)
@ -1057,7 +1057,7 @@ namespace CppSharp @@ -1057,7 +1057,7 @@ namespace CppSharp
[SuppressUnmanagedCodeSecurity]
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.Cdecl,
EntryPoint="_ZN8CppSharp9CppParser3AST14AttributedTypeC2ERKS2_")]
internal static extern void cctor_1(global::System.IntPtr instance, global::System.IntPtr _0);
internal static extern void cctor_2(global::System.IntPtr instance, global::System.IntPtr _0);
}
internal AttributedType(AttributedType.Internal* native)
@ -1150,7 +1150,7 @@ namespace CppSharp @@ -1150,7 +1150,7 @@ namespace CppSharp
[SuppressUnmanagedCodeSecurity]
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.Cdecl,
EntryPoint="_ZN8CppSharp9CppParser3AST11DecayedTypeC2ERKS2_")]
internal static extern void cctor_1(global::System.IntPtr instance, global::System.IntPtr _0);
internal static extern void cctor_2(global::System.IntPtr instance, global::System.IntPtr _0);
}
internal DecayedType(DecayedType.Internal* native)
@ -1397,7 +1397,7 @@ namespace CppSharp @@ -1397,7 +1397,7 @@ namespace CppSharp
[SuppressUnmanagedCodeSecurity]
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.Cdecl,
EntryPoint="_ZN8CppSharp9CppParser3AST26TemplateSpecializationTypeC2ERKS2_")]
internal static extern void cctor_2(global::System.IntPtr instance, global::System.IntPtr _0);
internal static extern void cctor_1(global::System.IntPtr instance, global::System.IntPtr _0);
[SuppressUnmanagedCodeSecurity]
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.Cdecl,
@ -1513,12 +1513,12 @@ namespace CppSharp @@ -1513,12 +1513,12 @@ namespace CppSharp
[SuppressUnmanagedCodeSecurity]
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.Cdecl,
EntryPoint="_ZN8CppSharp9CppParser3AST17TemplateParameterC2Ev")]
internal static extern void ctor_1(global::System.IntPtr instance);
internal static extern void ctor_0(global::System.IntPtr instance);
[SuppressUnmanagedCodeSecurity]
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.Cdecl,
EntryPoint="_ZN8CppSharp9CppParser3AST17TemplateParameterC2ERKS2_")]
internal static extern void cctor_2(global::System.IntPtr instance, global::System.IntPtr _0);
internal static extern void cctor_1(global::System.IntPtr instance, global::System.IntPtr _0);
[SuppressUnmanagedCodeSecurity]
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.Cdecl,
@ -1562,7 +1562,7 @@ namespace CppSharp @@ -1562,7 +1562,7 @@ namespace CppSharp
public TemplateParameter()
{
__Instance = Marshal.AllocHGlobal(12);
Internal.ctor_1(__Instance);
Internal.ctor_0(__Instance);
}
public void Dispose()
@ -1630,7 +1630,7 @@ namespace CppSharp @@ -1630,7 +1630,7 @@ namespace CppSharp
[SuppressUnmanagedCodeSecurity]
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.Cdecl,
EntryPoint="_ZN8CppSharp9CppParser3AST21TemplateParameterTypeC2ERKS2_")]
internal static extern void cctor_1(global::System.IntPtr instance, global::System.IntPtr _0);
internal static extern void cctor_2(global::System.IntPtr instance, global::System.IntPtr _0);
[SuppressUnmanagedCodeSecurity]
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.Cdecl,
@ -1671,7 +1671,7 @@ namespace CppSharp @@ -1671,7 +1671,7 @@ namespace CppSharp
{
var __ptr = (Internal*)__Instance.ToPointer();
var __instance = Marshal.AllocHGlobal(12);
CppSharp.Parser.AST.TemplateParameter.Internal.cctor_2(__instance, new global::System.IntPtr(&__ptr->Parameter));
CppSharp.Parser.AST.TemplateParameter.Internal.cctor_1(__instance, new global::System.IntPtr(&__ptr->Parameter));
return (__instance == IntPtr.Zero) ? null : new CppSharp.Parser.AST.TemplateParameter(__instance);
}
@ -1705,7 +1705,7 @@ namespace CppSharp @@ -1705,7 +1705,7 @@ namespace CppSharp
[SuppressUnmanagedCodeSecurity]
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.Cdecl,
EntryPoint="_ZN8CppSharp9CppParser3AST33TemplateParameterSubstitutionTypeC2ERKS2_")]
internal static extern void cctor_1(global::System.IntPtr instance, global::System.IntPtr _0);
internal static extern void cctor_2(global::System.IntPtr instance, global::System.IntPtr _0);
}
internal TemplateParameterSubstitutionType(TemplateParameterSubstitutionType.Internal* native)
@ -1778,7 +1778,7 @@ namespace CppSharp @@ -1778,7 +1778,7 @@ namespace CppSharp
[SuppressUnmanagedCodeSecurity]
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.Cdecl,
EntryPoint="_ZN8CppSharp9CppParser3AST21InjectedClassNameTypeC2ERKS2_")]
internal static extern void cctor_1(global::System.IntPtr instance, global::System.IntPtr _0);
internal static extern void cctor_2(global::System.IntPtr instance, global::System.IntPtr _0);
[SuppressUnmanagedCodeSecurity]
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.Cdecl,
@ -1819,7 +1819,7 @@ namespace CppSharp @@ -1819,7 +1819,7 @@ namespace CppSharp
{
var __ptr = (Internal*)__Instance.ToPointer();
var __instance = Marshal.AllocHGlobal(28);
CppSharp.Parser.AST.TemplateSpecializationType.Internal.cctor_2(__instance, new global::System.IntPtr(&__ptr->TemplateSpecialization));
CppSharp.Parser.AST.TemplateSpecializationType.Internal.cctor_1(__instance, new global::System.IntPtr(&__ptr->TemplateSpecialization));
return (__instance == IntPtr.Zero) ? null : new CppSharp.Parser.AST.TemplateSpecializationType(__instance);
}
@ -1865,7 +1865,7 @@ namespace CppSharp @@ -1865,7 +1865,7 @@ namespace CppSharp
[SuppressUnmanagedCodeSecurity]
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.Cdecl,
EntryPoint="_ZN8CppSharp9CppParser3AST17DependentNameTypeC2ERKS2_")]
internal static extern void cctor_1(global::System.IntPtr instance, global::System.IntPtr _0);
internal static extern void cctor_2(global::System.IntPtr instance, global::System.IntPtr _0);
}
internal DependentNameType(DependentNameType.Internal* native)
@ -1915,7 +1915,7 @@ namespace CppSharp @@ -1915,7 +1915,7 @@ namespace CppSharp
[SuppressUnmanagedCodeSecurity]
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.Cdecl,
EntryPoint="_ZN8CppSharp9CppParser3AST17PackExpansionTypeC2ERKS2_")]
internal static extern void cctor_1(global::System.IntPtr instance, global::System.IntPtr _0);
internal static extern void cctor_2(global::System.IntPtr instance, global::System.IntPtr _0);
}
internal PackExpansionType(PackExpansionType.Internal* native)
@ -1968,7 +1968,7 @@ namespace CppSharp @@ -1968,7 +1968,7 @@ namespace CppSharp
[SuppressUnmanagedCodeSecurity]
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.Cdecl,
EntryPoint="_ZN8CppSharp9CppParser3AST11BuiltinTypeC2ERKS2_")]
internal static extern void cctor_1(global::System.IntPtr instance, global::System.IntPtr _0);
internal static extern void cctor_2(global::System.IntPtr instance, global::System.IntPtr _0);
}
internal BuiltinType(BuiltinType.Internal* native)
@ -2135,7 +2135,7 @@ namespace CppSharp @@ -2135,7 +2135,7 @@ namespace CppSharp
[SuppressUnmanagedCodeSecurity]
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.Cdecl,
EntryPoint="_ZN8CppSharp9CppParser3AST12VTableLayoutC2ERKS2_")]
internal static extern void cctor_2(global::System.IntPtr instance, global::System.IntPtr _0);
internal static extern void cctor_1(global::System.IntPtr instance, global::System.IntPtr _0);
[SuppressUnmanagedCodeSecurity]
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.Cdecl,
@ -2337,7 +2337,7 @@ namespace CppSharp @@ -2337,7 +2337,7 @@ namespace CppSharp
{
var __ptr = (Internal*)__Instance.ToPointer();
var __instance = Marshal.AllocHGlobal(12);
CppSharp.Parser.AST.VTableLayout.Internal.cctor_2(__instance, new global::System.IntPtr(&__ptr->Layout));
CppSharp.Parser.AST.VTableLayout.Internal.cctor_1(__instance, new global::System.IntPtr(&__ptr->Layout));
return (__instance == IntPtr.Zero) ? null : new CppSharp.Parser.AST.VTableLayout(__instance);
}
@ -2489,7 +2489,7 @@ namespace CppSharp @@ -2489,7 +2489,7 @@ namespace CppSharp
{
var __ptr = (Internal*)__Instance.ToPointer();
var __instance = Marshal.AllocHGlobal(12);
CppSharp.Parser.AST.VTableLayout.Internal.cctor_2(__instance, new global::System.IntPtr(&__ptr->Layout));
CppSharp.Parser.AST.VTableLayout.Internal.cctor_1(__instance, new global::System.IntPtr(&__ptr->Layout));
return (__instance == IntPtr.Zero) ? null : new CppSharp.Parser.AST.VTableLayout(__instance);
}
@ -2625,7 +2625,7 @@ namespace CppSharp @@ -2625,7 +2625,7 @@ namespace CppSharp
[SuppressUnmanagedCodeSecurity]
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.Cdecl,
EntryPoint="_ZN8CppSharp9CppParser3AST11DeclarationC2ERKS2_")]
internal static extern void cctor_2(global::System.IntPtr instance, global::System.IntPtr _0);
internal static extern void cctor_1(global::System.IntPtr instance, global::System.IntPtr _0);
[SuppressUnmanagedCodeSecurity]
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.Cdecl,
@ -3334,7 +3334,7 @@ namespace CppSharp @@ -3334,7 +3334,7 @@ namespace CppSharp
[SuppressUnmanagedCodeSecurity]
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.Cdecl,
EntryPoint="_ZN8CppSharp9CppParser3AST11TypedefDeclC2ERKS2_")]
internal static extern void cctor_1(global::System.IntPtr instance, global::System.IntPtr _0);
internal static extern void cctor_2(global::System.IntPtr instance, global::System.IntPtr _0);
[SuppressUnmanagedCodeSecurity]
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.Cdecl,
@ -3445,7 +3445,7 @@ namespace CppSharp @@ -3445,7 +3445,7 @@ namespace CppSharp
[SuppressUnmanagedCodeSecurity]
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.Cdecl,
EntryPoint="_ZN8CppSharp9CppParser3AST9ParameterC2ERKS2_")]
internal static extern void cctor_1(global::System.IntPtr instance, global::System.IntPtr _0);
internal static extern void cctor_2(global::System.IntPtr instance, global::System.IntPtr _0);
[SuppressUnmanagedCodeSecurity]
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.Cdecl,
@ -3949,6 +3949,9 @@ namespace CppSharp @@ -3949,6 +3949,9 @@ namespace CppSharp
internal bool IsImplicit;
[FieldOffset(136)]
internal bool IsExplicit;
[FieldOffset(137)]
internal bool IsOverride;
[FieldOffset(140)]
@ -4084,6 +4087,21 @@ namespace CppSharp @@ -4084,6 +4087,21 @@ namespace CppSharp
}
}
public bool IsExplicit
{
get
{
var __ptr = (Internal*)__Instance.ToPointer();
return __ptr->IsExplicit;
}
set
{
var __ptr = (Internal*)__Instance.ToPointer();
__ptr->IsExplicit = value;
}
}
public bool IsOverride
{
get
@ -4324,7 +4342,7 @@ namespace CppSharp @@ -4324,7 +4342,7 @@ namespace CppSharp
[SuppressUnmanagedCodeSecurity]
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.Cdecl,
EntryPoint="_ZN8CppSharp9CppParser3AST11Enumeration4ItemC2ERKS3_")]
internal static extern void cctor_2(global::System.IntPtr instance, global::System.IntPtr _0);
internal static extern void cctor_1(global::System.IntPtr instance, global::System.IntPtr _0);
[SuppressUnmanagedCodeSecurity]
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.Cdecl,
@ -4434,7 +4452,7 @@ namespace CppSharp @@ -4434,7 +4452,7 @@ namespace CppSharp
var __ret = new CppSharp.Parser.AST.Enumeration.Item.Internal();
Internal.getItems_0(new IntPtr(&__ret), __Instance, i);
var __instance = Marshal.AllocHGlobal(88);
CppSharp.Parser.AST.Enumeration.Item.Internal.cctor_2(__instance, new global::System.IntPtr(&__ret));
CppSharp.Parser.AST.Enumeration.Item.Internal.cctor_1(__instance, new global::System.IntPtr(&__ret));
return (__instance == IntPtr.Zero) ? null : new CppSharp.Parser.AST.Enumeration.Item(__instance);
}
@ -4797,7 +4815,7 @@ namespace CppSharp @@ -4797,7 +4815,7 @@ namespace CppSharp
[SuppressUnmanagedCodeSecurity]
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.Cdecl,
EntryPoint="_ZN8CppSharp9CppParser3AST5FieldC2ERKS2_")]
internal static extern void cctor_1(global::System.IntPtr instance, global::System.IntPtr _0);
internal static extern void cctor_2(global::System.IntPtr instance, global::System.IntPtr _0);
[SuppressUnmanagedCodeSecurity]
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.Cdecl,
@ -4929,7 +4947,7 @@ namespace CppSharp @@ -4929,7 +4947,7 @@ namespace CppSharp
[SuppressUnmanagedCodeSecurity]
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.Cdecl,
EntryPoint="_ZN8CppSharp9CppParser3AST19AccessSpecifierDeclC2ERKS2_")]
internal static extern void cctor_1(global::System.IntPtr instance, global::System.IntPtr _0);
internal static extern void cctor_2(global::System.IntPtr instance, global::System.IntPtr _0);
[SuppressUnmanagedCodeSecurity]
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.Cdecl,
@ -5527,7 +5545,7 @@ namespace CppSharp @@ -5527,7 +5545,7 @@ namespace CppSharp
var __ret = new CppSharp.Parser.AST.TemplateParameter.Internal();
Internal.getParameters_0(new IntPtr(&__ret), __Instance, i);
var __instance = Marshal.AllocHGlobal(12);
CppSharp.Parser.AST.TemplateParameter.Internal.cctor_2(__instance, new global::System.IntPtr(&__ret));
CppSharp.Parser.AST.TemplateParameter.Internal.cctor_1(__instance, new global::System.IntPtr(&__ret));
return (__instance == IntPtr.Zero) ? null : new CppSharp.Parser.AST.TemplateParameter(__instance);
}
@ -6413,7 +6431,7 @@ namespace CppSharp @@ -6413,7 +6431,7 @@ namespace CppSharp
[SuppressUnmanagedCodeSecurity]
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.Cdecl,
EntryPoint="_ZN8CppSharp9CppParser3AST18PreprocessedEntityC2ERKS2_")]
internal static extern void cctor_1(global::System.IntPtr instance, global::System.IntPtr _0);
internal static extern void cctor_2(global::System.IntPtr instance, global::System.IntPtr _0);
[SuppressUnmanagedCodeSecurity]
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.Cdecl,

6
src/CppParser/Bindings/CSharp/i686-apple-darwin12.4.0/CppParser.cs

@ -511,7 +511,7 @@ namespace CppSharp @@ -511,7 +511,7 @@ namespace CppSharp
[SuppressUnmanagedCodeSecurity]
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.Cdecl,
EntryPoint="_ZN8CppSharp9CppParser16ParserDiagnosticC2ERKS1_")]
internal static extern void cctor_2(global::System.IntPtr instance, global::System.IntPtr _0);
internal static extern void cctor_1(global::System.IntPtr instance, global::System.IntPtr _0);
[SuppressUnmanagedCodeSecurity]
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.Cdecl,
@ -679,7 +679,7 @@ namespace CppSharp @@ -679,7 +679,7 @@ namespace CppSharp
[SuppressUnmanagedCodeSecurity]
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.Cdecl,
EntryPoint="_ZN8CppSharp9CppParser12ParserResultC2ERKS1_")]
internal static extern void cctor_2(global::System.IntPtr instance, global::System.IntPtr _0);
internal static extern void cctor_1(global::System.IntPtr instance, global::System.IntPtr _0);
[SuppressUnmanagedCodeSecurity]
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.Cdecl,
@ -742,7 +742,7 @@ namespace CppSharp @@ -742,7 +742,7 @@ namespace CppSharp
var __ret = new CppSharp.Parser.ParserDiagnostic.Internal();
Internal.getDiagnostics_0(new IntPtr(&__ret), __Instance, i);
var __instance = Marshal.AllocHGlobal(36);
CppSharp.Parser.ParserDiagnostic.Internal.cctor_2(__instance, new global::System.IntPtr(&__ret));
CppSharp.Parser.ParserDiagnostic.Internal.cctor_1(__instance, new global::System.IntPtr(&__ret));
return (__instance == IntPtr.Zero) ? null : new CppSharp.Parser.ParserDiagnostic(__instance);
}

4
src/CppParser/Bindings/ParserGen.cs

@ -136,8 +136,8 @@ namespace CppSharp @@ -136,8 +136,8 @@ namespace CppSharp
// of libcxx since the one provided by the Mac SDK is not compatible with a recent
// Clang frontend that we use to parse it.
//ConsoleDriver.Run(new ParserGen(GeneratorKind.CSharp, "i686-apple-darwin12.4.0",
// CppAbi.Itanium));
ConsoleDriver.Run(new ParserGen(GeneratorKind.CSharp, "i686-apple-darwin12.4.0",
CppAbi.Itanium));
}
}

Loading…
Cancel
Save