Browse Source

Re-generated the parser bindings.

Fixes https://github.com/mono/CppSharp/issues/494.
pull/499/head
João Matos 10 years ago
parent
commit
6d60f6a2ac
  1. 100
      src/CppParser/Bindings/CSharp/i686-apple-darwin12.4.0/AST.cs
  2. 12
      src/CppParser/Bindings/CSharp/i686-apple-darwin12.4.0/CppParser.cs
  3. 100
      src/CppParser/Bindings/CSharp/i686-pc-win32-msvc/AST.cs
  4. 12
      src/CppParser/Bindings/CSharp/i686-pc-win32-msvc/CppParser.cs
  5. 100
      src/CppParser/Bindings/CSharp/x86_64-apple-darwin12.4.0/AST.cs
  6. 12
      src/CppParser/Bindings/CSharp/x86_64-apple-darwin12.4.0/CppParser.cs
  7. 100
      src/CppParser/Bindings/CSharp/x86_64-linux-gnu/AST.cs
  8. 12
      src/CppParser/Bindings/CSharp/x86_64-linux-gnu/CppParser.cs

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

@ -583,7 +583,7 @@ namespace CppSharp @@ -583,7 +583,7 @@ namespace CppSharp
{
get
{
Type __result0;
CppSharp.Parser.AST.Type __result0;
if (((Internal*) __Instance)->Type == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.Type.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->Type))
__result0 = (CppSharp.Parser.AST.Type) CppSharp.Parser.AST.Type.NativeToManagedMap[((Internal*) __Instance)->Type];
@ -709,7 +709,7 @@ namespace CppSharp @@ -709,7 +709,7 @@ namespace CppSharp
{
get
{
Declaration __result0;
CppSharp.Parser.AST.Declaration __result0;
if (((Internal*) __Instance)->Declaration == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.Declaration.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->Declaration))
__result0 = (CppSharp.Parser.AST.Declaration) CppSharp.Parser.AST.Declaration.NativeToManagedMap[((Internal*) __Instance)->Declaration];
@ -997,7 +997,7 @@ namespace CppSharp @@ -997,7 +997,7 @@ namespace CppSharp
public CppSharp.Parser.AST.Parameter getParameters(uint i)
{
var __ret = Internal.getParameters_0(__Instance, i);
Parameter __result0;
CppSharp.Parser.AST.Parameter __result0;
if (__ret == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.Parameter.NativeToManagedMap.ContainsKey(__ret))
__result0 = (CppSharp.Parser.AST.Parameter) CppSharp.Parser.AST.Parameter.NativeToManagedMap[__ret];
@ -1390,7 +1390,7 @@ namespace CppSharp @@ -1390,7 +1390,7 @@ namespace CppSharp
{
get
{
TypedefDecl __result0;
CppSharp.Parser.AST.TypedefDecl __result0;
if (((Internal*) __Instance)->Declaration == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.TypedefDecl.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->Declaration))
__result0 = (CppSharp.Parser.AST.TypedefDecl) CppSharp.Parser.AST.TypedefDecl.NativeToManagedMap[((Internal*) __Instance)->Declaration];
@ -1812,7 +1812,7 @@ namespace CppSharp @@ -1812,7 +1812,7 @@ namespace CppSharp
{
get
{
Declaration __result0;
CppSharp.Parser.AST.Declaration __result0;
if (((Internal*) __Instance)->Declaration == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.Declaration.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->Declaration))
__result0 = (CppSharp.Parser.AST.Declaration) CppSharp.Parser.AST.Declaration.NativeToManagedMap[((Internal*) __Instance)->Declaration];
@ -1993,7 +1993,7 @@ namespace CppSharp @@ -1993,7 +1993,7 @@ namespace CppSharp
{
get
{
Template __result0;
CppSharp.Parser.AST.Template __result0;
if (((Internal*) __Instance)->Template == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.Template.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->Template))
__result0 = (CppSharp.Parser.AST.Template) CppSharp.Parser.AST.Template.NativeToManagedMap[((Internal*) __Instance)->Template];
@ -2011,7 +2011,7 @@ namespace CppSharp @@ -2011,7 +2011,7 @@ namespace CppSharp
{
get
{
Type __result0;
CppSharp.Parser.AST.Type __result0;
if (((Internal*) __Instance)->Desugared == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.Type.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->Desugared))
__result0 = (CppSharp.Parser.AST.Type) CppSharp.Parser.AST.Type.NativeToManagedMap[((Internal*) __Instance)->Desugared];
@ -2564,7 +2564,7 @@ namespace CppSharp @@ -2564,7 +2564,7 @@ namespace CppSharp
{
get
{
TemplateSpecializationType __result0;
CppSharp.Parser.AST.TemplateSpecializationType __result0;
if (((Internal*) __Instance)->TemplateSpecialization == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.TemplateSpecializationType.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->TemplateSpecialization))
__result0 = (CppSharp.Parser.AST.TemplateSpecializationType) CppSharp.Parser.AST.TemplateSpecializationType.NativeToManagedMap[((Internal*) __Instance)->TemplateSpecialization];
@ -2582,7 +2582,7 @@ namespace CppSharp @@ -2582,7 +2582,7 @@ namespace CppSharp
{
get
{
Class __result0;
CppSharp.Parser.AST.Class __result0;
if (((Internal*) __Instance)->Class == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.Class.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->Class))
__result0 = (CppSharp.Parser.AST.Class) CppSharp.Parser.AST.Class.NativeToManagedMap[((Internal*) __Instance)->Class];
@ -3017,7 +3017,7 @@ namespace CppSharp @@ -3017,7 +3017,7 @@ namespace CppSharp
{
get
{
Declaration __result0;
CppSharp.Parser.AST.Declaration __result0;
if (((Internal*) __Instance)->Declaration == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.Declaration.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->Declaration))
__result0 = (CppSharp.Parser.AST.Declaration) CppSharp.Parser.AST.Declaration.NativeToManagedMap[((Internal*) __Instance)->Declaration];
@ -3773,7 +3773,7 @@ namespace CppSharp @@ -3773,7 +3773,7 @@ namespace CppSharp
public CppSharp.Parser.AST.PreprocessedEntity getPreprocessedEntities(uint i)
{
var __ret = Internal.getPreprocessedEntities_0(__Instance, i);
PreprocessedEntity __result0;
CppSharp.Parser.AST.PreprocessedEntity __result0;
if (__ret == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.PreprocessedEntity.NativeToManagedMap.ContainsKey(__ret))
__result0 = (CppSharp.Parser.AST.PreprocessedEntity) CppSharp.Parser.AST.PreprocessedEntity.NativeToManagedMap[__ret];
@ -3863,7 +3863,7 @@ namespace CppSharp @@ -3863,7 +3863,7 @@ namespace CppSharp
{
get
{
DeclarationContext __result0;
CppSharp.Parser.AST.DeclarationContext __result0;
if (((Internal*) __Instance)->_Namespace == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.DeclarationContext.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->_Namespace))
__result0 = (CppSharp.Parser.AST.DeclarationContext) CppSharp.Parser.AST.DeclarationContext.NativeToManagedMap[((Internal*) __Instance)->_Namespace];
@ -3920,7 +3920,7 @@ namespace CppSharp @@ -3920,7 +3920,7 @@ namespace CppSharp
{
get
{
RawComment __result0;
CppSharp.Parser.AST.RawComment __result0;
if (((Internal*) __Instance)->Comment == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.RawComment.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->Comment))
__result0 = (CppSharp.Parser.AST.RawComment) CppSharp.Parser.AST.RawComment.NativeToManagedMap[((Internal*) __Instance)->Comment];
@ -3964,7 +3964,7 @@ namespace CppSharp @@ -3964,7 +3964,7 @@ namespace CppSharp
{
get
{
Declaration __result0;
CppSharp.Parser.AST.Declaration __result0;
if (((Internal*) __Instance)->CompleteDeclaration == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.Declaration.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->CompleteDeclaration))
__result0 = (CppSharp.Parser.AST.Declaration) CppSharp.Parser.AST.Declaration.NativeToManagedMap[((Internal*) __Instance)->CompleteDeclaration];
@ -4298,7 +4298,7 @@ namespace CppSharp @@ -4298,7 +4298,7 @@ namespace CppSharp
public CppSharp.Parser.AST.Namespace getNamespaces(uint i)
{
var __ret = Internal.getNamespaces_0(__Instance, i);
Namespace __result0;
CppSharp.Parser.AST.Namespace __result0;
if (__ret == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.Namespace.NativeToManagedMap.ContainsKey(__ret))
__result0 = (CppSharp.Parser.AST.Namespace) CppSharp.Parser.AST.Namespace.NativeToManagedMap[__ret];
@ -4320,7 +4320,7 @@ namespace CppSharp @@ -4320,7 +4320,7 @@ namespace CppSharp
public CppSharp.Parser.AST.Enumeration getEnums(uint i)
{
var __ret = Internal.getEnums_0(__Instance, i);
Enumeration __result0;
CppSharp.Parser.AST.Enumeration __result0;
if (__ret == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.Enumeration.NativeToManagedMap.ContainsKey(__ret))
__result0 = (CppSharp.Parser.AST.Enumeration) CppSharp.Parser.AST.Enumeration.NativeToManagedMap[__ret];
@ -4342,7 +4342,7 @@ namespace CppSharp @@ -4342,7 +4342,7 @@ namespace CppSharp
public CppSharp.Parser.AST.Function getFunctions(uint i)
{
var __ret = Internal.getFunctions_0(__Instance, i);
Function __result0;
CppSharp.Parser.AST.Function __result0;
if (__ret == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.Function.NativeToManagedMap.ContainsKey(__ret))
__result0 = (CppSharp.Parser.AST.Function) CppSharp.Parser.AST.Function.NativeToManagedMap[__ret];
@ -4364,7 +4364,7 @@ namespace CppSharp @@ -4364,7 +4364,7 @@ namespace CppSharp
public CppSharp.Parser.AST.Class getClasses(uint i)
{
var __ret = Internal.getClasses_0(__Instance, i);
Class __result0;
CppSharp.Parser.AST.Class __result0;
if (__ret == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.Class.NativeToManagedMap.ContainsKey(__ret))
__result0 = (CppSharp.Parser.AST.Class) CppSharp.Parser.AST.Class.NativeToManagedMap[__ret];
@ -4386,7 +4386,7 @@ namespace CppSharp @@ -4386,7 +4386,7 @@ namespace CppSharp
public CppSharp.Parser.AST.Template getTemplates(uint i)
{
var __ret = Internal.getTemplates_0(__Instance, i);
Template __result0;
CppSharp.Parser.AST.Template __result0;
if (__ret == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.Template.NativeToManagedMap.ContainsKey(__ret))
__result0 = (CppSharp.Parser.AST.Template) CppSharp.Parser.AST.Template.NativeToManagedMap[__ret];
@ -4408,7 +4408,7 @@ namespace CppSharp @@ -4408,7 +4408,7 @@ namespace CppSharp
public CppSharp.Parser.AST.TypedefDecl getTypedefs(uint i)
{
var __ret = Internal.getTypedefs_0(__Instance, i);
TypedefDecl __result0;
CppSharp.Parser.AST.TypedefDecl __result0;
if (__ret == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.TypedefDecl.NativeToManagedMap.ContainsKey(__ret))
__result0 = (CppSharp.Parser.AST.TypedefDecl) CppSharp.Parser.AST.TypedefDecl.NativeToManagedMap[__ret];
@ -4430,7 +4430,7 @@ namespace CppSharp @@ -4430,7 +4430,7 @@ namespace CppSharp
public CppSharp.Parser.AST.Variable getVariables(uint i)
{
var __ret = Internal.getVariables_0(__Instance, i);
Variable __result0;
CppSharp.Parser.AST.Variable __result0;
if (__ret == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.Variable.NativeToManagedMap.ContainsKey(__ret))
__result0 = (CppSharp.Parser.AST.Variable) CppSharp.Parser.AST.Variable.NativeToManagedMap[__ret];
@ -4452,7 +4452,7 @@ namespace CppSharp @@ -4452,7 +4452,7 @@ namespace CppSharp
public CppSharp.Parser.AST.Friend getFriends(uint i)
{
var __ret = Internal.getFriends_0(__Instance, i);
Friend __result0;
CppSharp.Parser.AST.Friend __result0;
if (__ret == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.Friend.NativeToManagedMap.ContainsKey(__ret))
__result0 = (CppSharp.Parser.AST.Friend) CppSharp.Parser.AST.Friend.NativeToManagedMap[__ret];
@ -4833,7 +4833,7 @@ namespace CppSharp @@ -4833,7 +4833,7 @@ namespace CppSharp
{
get
{
Declaration __result0;
CppSharp.Parser.AST.Declaration __result0;
if (((Internal*) __Instance)->Declaration == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.Declaration.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->Declaration))
__result0 = (CppSharp.Parser.AST.Declaration) CppSharp.Parser.AST.Declaration.NativeToManagedMap[((Internal*) __Instance)->Declaration];
@ -4981,7 +4981,7 @@ namespace CppSharp @@ -4981,7 +4981,7 @@ namespace CppSharp
{
get
{
Declaration __result0;
CppSharp.Parser.AST.Declaration __result0;
if (((Internal*) __Instance)->Decl == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.Declaration.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->Decl))
__result0 = (CppSharp.Parser.AST.Declaration) CppSharp.Parser.AST.Declaration.NativeToManagedMap[((Internal*) __Instance)->Decl];
@ -5085,7 +5085,7 @@ namespace CppSharp @@ -5085,7 +5085,7 @@ namespace CppSharp
{
get
{
Expression __result0;
CppSharp.Parser.AST.Expression __result0;
if (((Internal*) __Instance)->Subexpression == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.Expression.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->Subexpression))
__result0 = (CppSharp.Parser.AST.Expression) CppSharp.Parser.AST.Expression.NativeToManagedMap[((Internal*) __Instance)->Subexpression];
@ -5221,7 +5221,7 @@ namespace CppSharp @@ -5221,7 +5221,7 @@ namespace CppSharp
{
get
{
Expression __result0;
CppSharp.Parser.AST.Expression __result0;
if (((Internal*) __Instance)->LHS == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.Expression.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->LHS))
__result0 = (CppSharp.Parser.AST.Expression) CppSharp.Parser.AST.Expression.NativeToManagedMap[((Internal*) __Instance)->LHS];
@ -5239,7 +5239,7 @@ namespace CppSharp @@ -5239,7 +5239,7 @@ namespace CppSharp
{
get
{
Expression __result0;
CppSharp.Parser.AST.Expression __result0;
if (((Internal*) __Instance)->RHS == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.Expression.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->RHS))
__result0 = (CppSharp.Parser.AST.Expression) CppSharp.Parser.AST.Expression.NativeToManagedMap[((Internal*) __Instance)->RHS];
@ -5451,7 +5451,7 @@ namespace CppSharp @@ -5451,7 +5451,7 @@ namespace CppSharp
{
get
{
Expression __result0;
CppSharp.Parser.AST.Expression __result0;
if (((Internal*) __Instance)->DefaultArgument == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.Expression.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->DefaultArgument))
__result0 = (CppSharp.Parser.AST.Expression) CppSharp.Parser.AST.Expression.NativeToManagedMap[((Internal*) __Instance)->DefaultArgument];
@ -5665,7 +5665,7 @@ namespace CppSharp @@ -5665,7 +5665,7 @@ namespace CppSharp
public CppSharp.Parser.AST.Parameter getParameters(uint i)
{
var __ret = Internal.getParameters_0(__Instance, i);
Parameter __result0;
CppSharp.Parser.AST.Parameter __result0;
if (__ret == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.Parameter.NativeToManagedMap.ContainsKey(__ret))
__result0 = (CppSharp.Parser.AST.Parameter) CppSharp.Parser.AST.Parameter.NativeToManagedMap[__ret];
@ -5846,7 +5846,7 @@ namespace CppSharp @@ -5846,7 +5846,7 @@ namespace CppSharp
{
get
{
FunctionTemplateSpecialization __result0;
CppSharp.Parser.AST.FunctionTemplateSpecialization __result0;
if (((Internal*) __Instance)->SpecializationInfo == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.FunctionTemplateSpecialization.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->SpecializationInfo))
__result0 = (CppSharp.Parser.AST.FunctionTemplateSpecialization) CppSharp.Parser.AST.FunctionTemplateSpecialization.NativeToManagedMap[((Internal*) __Instance)->SpecializationInfo];
@ -6057,7 +6057,7 @@ namespace CppSharp @@ -6057,7 +6057,7 @@ namespace CppSharp
{
get
{
AccessSpecifierDecl __result0;
CppSharp.Parser.AST.AccessSpecifierDecl __result0;
if (((Internal*) __Instance)->AccessDecl == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.AccessSpecifierDecl.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->AccessDecl))
__result0 = (CppSharp.Parser.AST.AccessSpecifierDecl) CppSharp.Parser.AST.AccessSpecifierDecl.NativeToManagedMap[((Internal*) __Instance)->AccessDecl];
@ -6594,7 +6594,7 @@ namespace CppSharp @@ -6594,7 +6594,7 @@ namespace CppSharp
{
get
{
Type __result0;
CppSharp.Parser.AST.Type __result0;
if (((Internal*) __Instance)->Type == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.Type.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->Type))
__result0 = (CppSharp.Parser.AST.Type) CppSharp.Parser.AST.Type.NativeToManagedMap[((Internal*) __Instance)->Type];
@ -6612,7 +6612,7 @@ namespace CppSharp @@ -6612,7 +6612,7 @@ namespace CppSharp
{
get
{
BuiltinType __result0;
CppSharp.Parser.AST.BuiltinType __result0;
if (((Internal*) __Instance)->BuiltinType == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.BuiltinType.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->BuiltinType))
__result0 = (CppSharp.Parser.AST.BuiltinType) CppSharp.Parser.AST.BuiltinType.NativeToManagedMap[((Internal*) __Instance)->BuiltinType];
@ -6927,7 +6927,7 @@ namespace CppSharp @@ -6927,7 +6927,7 @@ namespace CppSharp
{
get
{
Type __result0;
CppSharp.Parser.AST.Type __result0;
if (((Internal*) __Instance)->Type == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.Type.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->Type))
__result0 = (CppSharp.Parser.AST.Type) CppSharp.Parser.AST.Type.NativeToManagedMap[((Internal*) __Instance)->Type];
@ -7126,7 +7126,7 @@ namespace CppSharp @@ -7126,7 +7126,7 @@ namespace CppSharp
{
get
{
Class __result0;
CppSharp.Parser.AST.Class __result0;
if (((Internal*) __Instance)->Class == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.Class.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->Class))
__result0 = (CppSharp.Parser.AST.Class) CppSharp.Parser.AST.Class.NativeToManagedMap[((Internal*) __Instance)->Class];
@ -7536,7 +7536,7 @@ namespace CppSharp @@ -7536,7 +7536,7 @@ namespace CppSharp
public CppSharp.Parser.AST.BaseClassSpecifier getBases(uint i)
{
var __ret = Internal.getBases_0(__Instance, i);
BaseClassSpecifier __result0;
CppSharp.Parser.AST.BaseClassSpecifier __result0;
if (__ret == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.BaseClassSpecifier.NativeToManagedMap.ContainsKey(__ret))
__result0 = (CppSharp.Parser.AST.BaseClassSpecifier) CppSharp.Parser.AST.BaseClassSpecifier.NativeToManagedMap[__ret];
@ -7558,7 +7558,7 @@ namespace CppSharp @@ -7558,7 +7558,7 @@ namespace CppSharp
public CppSharp.Parser.AST.Field getFields(uint i)
{
var __ret = Internal.getFields_0(__Instance, i);
Field __result0;
CppSharp.Parser.AST.Field __result0;
if (__ret == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.Field.NativeToManagedMap.ContainsKey(__ret))
__result0 = (CppSharp.Parser.AST.Field) CppSharp.Parser.AST.Field.NativeToManagedMap[__ret];
@ -7580,7 +7580,7 @@ namespace CppSharp @@ -7580,7 +7580,7 @@ namespace CppSharp
public CppSharp.Parser.AST.Method getMethods(uint i)
{
var __ret = Internal.getMethods_0(__Instance, i);
Method __result0;
CppSharp.Parser.AST.Method __result0;
if (__ret == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.Method.NativeToManagedMap.ContainsKey(__ret))
__result0 = (CppSharp.Parser.AST.Method) CppSharp.Parser.AST.Method.NativeToManagedMap[__ret];
@ -7602,7 +7602,7 @@ namespace CppSharp @@ -7602,7 +7602,7 @@ namespace CppSharp
public CppSharp.Parser.AST.AccessSpecifierDecl getSpecifiers(uint i)
{
var __ret = Internal.getSpecifiers_0(__Instance, i);
AccessSpecifierDecl __result0;
CppSharp.Parser.AST.AccessSpecifierDecl __result0;
if (__ret == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.AccessSpecifierDecl.NativeToManagedMap.ContainsKey(__ret))
__result0 = (CppSharp.Parser.AST.AccessSpecifierDecl) CppSharp.Parser.AST.AccessSpecifierDecl.NativeToManagedMap[__ret];
@ -7778,7 +7778,7 @@ namespace CppSharp @@ -7778,7 +7778,7 @@ namespace CppSharp
{
get
{
ClassLayout __result0;
CppSharp.Parser.AST.ClassLayout __result0;
if (((Internal*) __Instance)->Layout == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.ClassLayout.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->Layout))
__result0 = (CppSharp.Parser.AST.ClassLayout) CppSharp.Parser.AST.ClassLayout.NativeToManagedMap[((Internal*) __Instance)->Layout];
@ -7988,7 +7988,7 @@ namespace CppSharp @@ -7988,7 +7988,7 @@ namespace CppSharp
{
get
{
Declaration __result0;
CppSharp.Parser.AST.Declaration __result0;
if (((Internal*) __Instance)->TemplatedDecl == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.Declaration.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->TemplatedDecl))
__result0 = (CppSharp.Parser.AST.Declaration) CppSharp.Parser.AST.Declaration.NativeToManagedMap[((Internal*) __Instance)->TemplatedDecl];
@ -8155,7 +8155,7 @@ namespace CppSharp @@ -8155,7 +8155,7 @@ namespace CppSharp
public CppSharp.Parser.AST.ClassTemplateSpecialization getSpecializations(uint i)
{
var __ret = Internal.getSpecializations_0(__Instance, i);
ClassTemplateSpecialization __result0;
CppSharp.Parser.AST.ClassTemplateSpecialization __result0;
if (__ret == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.ClassTemplateSpecialization.NativeToManagedMap.ContainsKey(__ret))
__result0 = (CppSharp.Parser.AST.ClassTemplateSpecialization) CppSharp.Parser.AST.ClassTemplateSpecialization.NativeToManagedMap[__ret];
@ -8400,7 +8400,7 @@ namespace CppSharp @@ -8400,7 +8400,7 @@ namespace CppSharp
{
get
{
ClassTemplate __result0;
CppSharp.Parser.AST.ClassTemplate __result0;
if (((Internal*) __Instance)->TemplatedDecl == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.ClassTemplate.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->TemplatedDecl))
__result0 = (CppSharp.Parser.AST.ClassTemplate) CppSharp.Parser.AST.ClassTemplate.NativeToManagedMap[((Internal*) __Instance)->TemplatedDecl];
@ -8746,7 +8746,7 @@ namespace CppSharp @@ -8746,7 +8746,7 @@ namespace CppSharp
public CppSharp.Parser.AST.FunctionTemplateSpecialization getSpecializations(uint i)
{
var __ret = Internal.getSpecializations_0(__Instance, i);
FunctionTemplateSpecialization __result0;
CppSharp.Parser.AST.FunctionTemplateSpecialization __result0;
if (__ret == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.FunctionTemplateSpecialization.NativeToManagedMap.ContainsKey(__ret))
__result0 = (CppSharp.Parser.AST.FunctionTemplateSpecialization) CppSharp.Parser.AST.FunctionTemplateSpecialization.NativeToManagedMap[__ret];
@ -8932,7 +8932,7 @@ namespace CppSharp @@ -8932,7 +8932,7 @@ namespace CppSharp
{
get
{
FunctionTemplate __result0;
CppSharp.Parser.AST.FunctionTemplate __result0;
if (((Internal*) __Instance)->Template == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.FunctionTemplate.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->Template))
__result0 = (CppSharp.Parser.AST.FunctionTemplate) CppSharp.Parser.AST.FunctionTemplate.NativeToManagedMap[((Internal*) __Instance)->Template];
@ -8950,7 +8950,7 @@ namespace CppSharp @@ -8950,7 +8950,7 @@ namespace CppSharp
{
get
{
Function __result0;
CppSharp.Parser.AST.Function __result0;
if (((Internal*) __Instance)->SpecializedFunction == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.Function.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->SpecializedFunction))
__result0 = (CppSharp.Parser.AST.Function) CppSharp.Parser.AST.Function.NativeToManagedMap[((Internal*) __Instance)->SpecializedFunction];
@ -9585,7 +9585,7 @@ namespace CppSharp @@ -9585,7 +9585,7 @@ namespace CppSharp
{
get
{
MacroDefinition __result0;
CppSharp.Parser.AST.MacroDefinition __result0;
if (((Internal*) __Instance)->Definition == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.MacroDefinition.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->Definition))
__result0 = (CppSharp.Parser.AST.MacroDefinition) CppSharp.Parser.AST.MacroDefinition.NativeToManagedMap[((Internal*) __Instance)->Definition];
@ -9768,7 +9768,7 @@ namespace CppSharp @@ -9768,7 +9768,7 @@ namespace CppSharp
public CppSharp.Parser.AST.MacroDefinition getMacros(uint i)
{
var __ret = Internal.getMacros_0(__Instance, i);
MacroDefinition __result0;
CppSharp.Parser.AST.MacroDefinition __result0;
if (__ret == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.MacroDefinition.NativeToManagedMap.ContainsKey(__ret))
__result0 = (CppSharp.Parser.AST.MacroDefinition) CppSharp.Parser.AST.MacroDefinition.NativeToManagedMap[__ret];
@ -10180,7 +10180,7 @@ namespace CppSharp @@ -10180,7 +10180,7 @@ namespace CppSharp
public CppSharp.Parser.AST.TranslationUnit getTranslationUnits(uint i)
{
var __ret = Internal.getTranslationUnits_0(__Instance, i);
TranslationUnit __result0;
CppSharp.Parser.AST.TranslationUnit __result0;
if (__ret == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.TranslationUnit.NativeToManagedMap.ContainsKey(__ret))
__result0 = (CppSharp.Parser.AST.TranslationUnit) CppSharp.Parser.AST.TranslationUnit.NativeToManagedMap[__ret];
@ -10576,7 +10576,7 @@ namespace CppSharp @@ -10576,7 +10576,7 @@ namespace CppSharp
{
get
{
FullComment __result0;
CppSharp.Parser.AST.FullComment __result0;
if (((Internal*) __Instance)->FullCommentBlock == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.FullComment.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->FullCommentBlock))
__result0 = (CppSharp.Parser.AST.FullComment) CppSharp.Parser.AST.FullComment.NativeToManagedMap[((Internal*) __Instance)->FullCommentBlock];

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

@ -504,7 +504,7 @@ namespace CppSharp @@ -504,7 +504,7 @@ namespace CppSharp
{
get
{
ASTContext __result0;
CppSharp.Parser.AST.ASTContext __result0;
if (((Internal*) __Instance)->ASTContext == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.ASTContext.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->ASTContext))
__result0 = (CppSharp.Parser.AST.ASTContext) CppSharp.Parser.AST.ASTContext.NativeToManagedMap[((Internal*) __Instance)->ASTContext];
@ -981,7 +981,7 @@ namespace CppSharp @@ -981,7 +981,7 @@ namespace CppSharp
{
get
{
ASTContext __result0;
CppSharp.Parser.AST.ASTContext __result0;
if (((Internal*) __Instance)->ASTContext == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.ASTContext.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->ASTContext))
__result0 = (CppSharp.Parser.AST.ASTContext) CppSharp.Parser.AST.ASTContext.NativeToManagedMap[((Internal*) __Instance)->ASTContext];
@ -999,7 +999,7 @@ namespace CppSharp @@ -999,7 +999,7 @@ namespace CppSharp
{
get
{
NativeLibrary __result0;
CppSharp.Parser.AST.NativeLibrary __result0;
if (((Internal*) __Instance)->Library == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.NativeLibrary.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->Library))
__result0 = (CppSharp.Parser.AST.NativeLibrary) CppSharp.Parser.AST.NativeLibrary.NativeToManagedMap[((Internal*) __Instance)->Library];
@ -1116,7 +1116,7 @@ namespace CppSharp @@ -1116,7 +1116,7 @@ namespace CppSharp
{
var arg0 = ReferenceEquals(Opts, null) ? global::System.IntPtr.Zero : Opts.__Instance;
var __ret = Internal.ParseHeader_0(arg0);
ParserResult __result0;
CppSharp.Parser.ParserResult __result0;
if (__ret == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.ParserResult.NativeToManagedMap.ContainsKey(__ret))
__result0 = (CppSharp.Parser.ParserResult) CppSharp.Parser.ParserResult.NativeToManagedMap[__ret];
@ -1128,7 +1128,7 @@ namespace CppSharp @@ -1128,7 +1128,7 @@ namespace CppSharp
{
var arg0 = ReferenceEquals(Opts, null) ? global::System.IntPtr.Zero : Opts.__Instance;
var __ret = Internal.ParseLibrary_0(arg0);
ParserResult __result0;
CppSharp.Parser.ParserResult __result0;
if (__ret == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.ParserResult.NativeToManagedMap.ContainsKey(__ret))
__result0 = (CppSharp.Parser.ParserResult) CppSharp.Parser.ParserResult.NativeToManagedMap[__ret];
@ -1140,7 +1140,7 @@ namespace CppSharp @@ -1140,7 +1140,7 @@ namespace CppSharp
{
var arg0 = ReferenceEquals(Opts, null) ? global::System.IntPtr.Zero : Opts.__Instance;
var __ret = Internal.GetTargetInfo_0(arg0);
ParserTargetInfo __result0;
CppSharp.Parser.ParserTargetInfo __result0;
if (__ret == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.ParserTargetInfo.NativeToManagedMap.ContainsKey(__ret))
__result0 = (CppSharp.Parser.ParserTargetInfo) CppSharp.Parser.ParserTargetInfo.NativeToManagedMap[__ret];

100
src/CppParser/Bindings/CSharp/i686-pc-win32-msvc/AST.cs

@ -583,7 +583,7 @@ namespace CppSharp @@ -583,7 +583,7 @@ namespace CppSharp
{
get
{
Type __result0;
CppSharp.Parser.AST.Type __result0;
if (((Internal*) __Instance)->Type == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.Type.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->Type))
__result0 = (CppSharp.Parser.AST.Type) CppSharp.Parser.AST.Type.NativeToManagedMap[((Internal*) __Instance)->Type];
@ -709,7 +709,7 @@ namespace CppSharp @@ -709,7 +709,7 @@ namespace CppSharp
{
get
{
Declaration __result0;
CppSharp.Parser.AST.Declaration __result0;
if (((Internal*) __Instance)->Declaration == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.Declaration.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->Declaration))
__result0 = (CppSharp.Parser.AST.Declaration) CppSharp.Parser.AST.Declaration.NativeToManagedMap[((Internal*) __Instance)->Declaration];
@ -997,7 +997,7 @@ namespace CppSharp @@ -997,7 +997,7 @@ namespace CppSharp
public CppSharp.Parser.AST.Parameter getParameters(uint i)
{
var __ret = Internal.getParameters_0(__Instance, i);
Parameter __result0;
CppSharp.Parser.AST.Parameter __result0;
if (__ret == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.Parameter.NativeToManagedMap.ContainsKey(__ret))
__result0 = (CppSharp.Parser.AST.Parameter) CppSharp.Parser.AST.Parameter.NativeToManagedMap[__ret];
@ -1390,7 +1390,7 @@ namespace CppSharp @@ -1390,7 +1390,7 @@ namespace CppSharp
{
get
{
TypedefDecl __result0;
CppSharp.Parser.AST.TypedefDecl __result0;
if (((Internal*) __Instance)->Declaration == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.TypedefDecl.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->Declaration))
__result0 = (CppSharp.Parser.AST.TypedefDecl) CppSharp.Parser.AST.TypedefDecl.NativeToManagedMap[((Internal*) __Instance)->Declaration];
@ -1812,7 +1812,7 @@ namespace CppSharp @@ -1812,7 +1812,7 @@ namespace CppSharp
{
get
{
Declaration __result0;
CppSharp.Parser.AST.Declaration __result0;
if (((Internal*) __Instance)->Declaration == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.Declaration.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->Declaration))
__result0 = (CppSharp.Parser.AST.Declaration) CppSharp.Parser.AST.Declaration.NativeToManagedMap[((Internal*) __Instance)->Declaration];
@ -1993,7 +1993,7 @@ namespace CppSharp @@ -1993,7 +1993,7 @@ namespace CppSharp
{
get
{
Template __result0;
CppSharp.Parser.AST.Template __result0;
if (((Internal*) __Instance)->Template == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.Template.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->Template))
__result0 = (CppSharp.Parser.AST.Template) CppSharp.Parser.AST.Template.NativeToManagedMap[((Internal*) __Instance)->Template];
@ -2011,7 +2011,7 @@ namespace CppSharp @@ -2011,7 +2011,7 @@ namespace CppSharp
{
get
{
Type __result0;
CppSharp.Parser.AST.Type __result0;
if (((Internal*) __Instance)->Desugared == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.Type.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->Desugared))
__result0 = (CppSharp.Parser.AST.Type) CppSharp.Parser.AST.Type.NativeToManagedMap[((Internal*) __Instance)->Desugared];
@ -2564,7 +2564,7 @@ namespace CppSharp @@ -2564,7 +2564,7 @@ namespace CppSharp
{
get
{
TemplateSpecializationType __result0;
CppSharp.Parser.AST.TemplateSpecializationType __result0;
if (((Internal*) __Instance)->TemplateSpecialization == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.TemplateSpecializationType.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->TemplateSpecialization))
__result0 = (CppSharp.Parser.AST.TemplateSpecializationType) CppSharp.Parser.AST.TemplateSpecializationType.NativeToManagedMap[((Internal*) __Instance)->TemplateSpecialization];
@ -2582,7 +2582,7 @@ namespace CppSharp @@ -2582,7 +2582,7 @@ namespace CppSharp
{
get
{
Class __result0;
CppSharp.Parser.AST.Class __result0;
if (((Internal*) __Instance)->Class == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.Class.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->Class))
__result0 = (CppSharp.Parser.AST.Class) CppSharp.Parser.AST.Class.NativeToManagedMap[((Internal*) __Instance)->Class];
@ -3017,7 +3017,7 @@ namespace CppSharp @@ -3017,7 +3017,7 @@ namespace CppSharp
{
get
{
Declaration __result0;
CppSharp.Parser.AST.Declaration __result0;
if (((Internal*) __Instance)->Declaration == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.Declaration.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->Declaration))
__result0 = (CppSharp.Parser.AST.Declaration) CppSharp.Parser.AST.Declaration.NativeToManagedMap[((Internal*) __Instance)->Declaration];
@ -3773,7 +3773,7 @@ namespace CppSharp @@ -3773,7 +3773,7 @@ namespace CppSharp
public CppSharp.Parser.AST.PreprocessedEntity getPreprocessedEntities(uint i)
{
var __ret = Internal.getPreprocessedEntities_0(__Instance, i);
PreprocessedEntity __result0;
CppSharp.Parser.AST.PreprocessedEntity __result0;
if (__ret == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.PreprocessedEntity.NativeToManagedMap.ContainsKey(__ret))
__result0 = (CppSharp.Parser.AST.PreprocessedEntity) CppSharp.Parser.AST.PreprocessedEntity.NativeToManagedMap[__ret];
@ -3863,7 +3863,7 @@ namespace CppSharp @@ -3863,7 +3863,7 @@ namespace CppSharp
{
get
{
DeclarationContext __result0;
CppSharp.Parser.AST.DeclarationContext __result0;
if (((Internal*) __Instance)->_Namespace == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.DeclarationContext.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->_Namespace))
__result0 = (CppSharp.Parser.AST.DeclarationContext) CppSharp.Parser.AST.DeclarationContext.NativeToManagedMap[((Internal*) __Instance)->_Namespace];
@ -3920,7 +3920,7 @@ namespace CppSharp @@ -3920,7 +3920,7 @@ namespace CppSharp
{
get
{
RawComment __result0;
CppSharp.Parser.AST.RawComment __result0;
if (((Internal*) __Instance)->Comment == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.RawComment.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->Comment))
__result0 = (CppSharp.Parser.AST.RawComment) CppSharp.Parser.AST.RawComment.NativeToManagedMap[((Internal*) __Instance)->Comment];
@ -3964,7 +3964,7 @@ namespace CppSharp @@ -3964,7 +3964,7 @@ namespace CppSharp
{
get
{
Declaration __result0;
CppSharp.Parser.AST.Declaration __result0;
if (((Internal*) __Instance)->CompleteDeclaration == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.Declaration.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->CompleteDeclaration))
__result0 = (CppSharp.Parser.AST.Declaration) CppSharp.Parser.AST.Declaration.NativeToManagedMap[((Internal*) __Instance)->CompleteDeclaration];
@ -4298,7 +4298,7 @@ namespace CppSharp @@ -4298,7 +4298,7 @@ namespace CppSharp
public CppSharp.Parser.AST.Namespace getNamespaces(uint i)
{
var __ret = Internal.getNamespaces_0(__Instance, i);
Namespace __result0;
CppSharp.Parser.AST.Namespace __result0;
if (__ret == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.Namespace.NativeToManagedMap.ContainsKey(__ret))
__result0 = (CppSharp.Parser.AST.Namespace) CppSharp.Parser.AST.Namespace.NativeToManagedMap[__ret];
@ -4320,7 +4320,7 @@ namespace CppSharp @@ -4320,7 +4320,7 @@ namespace CppSharp
public CppSharp.Parser.AST.Enumeration getEnums(uint i)
{
var __ret = Internal.getEnums_0(__Instance, i);
Enumeration __result0;
CppSharp.Parser.AST.Enumeration __result0;
if (__ret == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.Enumeration.NativeToManagedMap.ContainsKey(__ret))
__result0 = (CppSharp.Parser.AST.Enumeration) CppSharp.Parser.AST.Enumeration.NativeToManagedMap[__ret];
@ -4342,7 +4342,7 @@ namespace CppSharp @@ -4342,7 +4342,7 @@ namespace CppSharp
public CppSharp.Parser.AST.Function getFunctions(uint i)
{
var __ret = Internal.getFunctions_0(__Instance, i);
Function __result0;
CppSharp.Parser.AST.Function __result0;
if (__ret == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.Function.NativeToManagedMap.ContainsKey(__ret))
__result0 = (CppSharp.Parser.AST.Function) CppSharp.Parser.AST.Function.NativeToManagedMap[__ret];
@ -4364,7 +4364,7 @@ namespace CppSharp @@ -4364,7 +4364,7 @@ namespace CppSharp
public CppSharp.Parser.AST.Class getClasses(uint i)
{
var __ret = Internal.getClasses_0(__Instance, i);
Class __result0;
CppSharp.Parser.AST.Class __result0;
if (__ret == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.Class.NativeToManagedMap.ContainsKey(__ret))
__result0 = (CppSharp.Parser.AST.Class) CppSharp.Parser.AST.Class.NativeToManagedMap[__ret];
@ -4386,7 +4386,7 @@ namespace CppSharp @@ -4386,7 +4386,7 @@ namespace CppSharp
public CppSharp.Parser.AST.Template getTemplates(uint i)
{
var __ret = Internal.getTemplates_0(__Instance, i);
Template __result0;
CppSharp.Parser.AST.Template __result0;
if (__ret == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.Template.NativeToManagedMap.ContainsKey(__ret))
__result0 = (CppSharp.Parser.AST.Template) CppSharp.Parser.AST.Template.NativeToManagedMap[__ret];
@ -4408,7 +4408,7 @@ namespace CppSharp @@ -4408,7 +4408,7 @@ namespace CppSharp
public CppSharp.Parser.AST.TypedefDecl getTypedefs(uint i)
{
var __ret = Internal.getTypedefs_0(__Instance, i);
TypedefDecl __result0;
CppSharp.Parser.AST.TypedefDecl __result0;
if (__ret == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.TypedefDecl.NativeToManagedMap.ContainsKey(__ret))
__result0 = (CppSharp.Parser.AST.TypedefDecl) CppSharp.Parser.AST.TypedefDecl.NativeToManagedMap[__ret];
@ -4430,7 +4430,7 @@ namespace CppSharp @@ -4430,7 +4430,7 @@ namespace CppSharp
public CppSharp.Parser.AST.Variable getVariables(uint i)
{
var __ret = Internal.getVariables_0(__Instance, i);
Variable __result0;
CppSharp.Parser.AST.Variable __result0;
if (__ret == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.Variable.NativeToManagedMap.ContainsKey(__ret))
__result0 = (CppSharp.Parser.AST.Variable) CppSharp.Parser.AST.Variable.NativeToManagedMap[__ret];
@ -4452,7 +4452,7 @@ namespace CppSharp @@ -4452,7 +4452,7 @@ namespace CppSharp
public CppSharp.Parser.AST.Friend getFriends(uint i)
{
var __ret = Internal.getFriends_0(__Instance, i);
Friend __result0;
CppSharp.Parser.AST.Friend __result0;
if (__ret == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.Friend.NativeToManagedMap.ContainsKey(__ret))
__result0 = (CppSharp.Parser.AST.Friend) CppSharp.Parser.AST.Friend.NativeToManagedMap[__ret];
@ -4833,7 +4833,7 @@ namespace CppSharp @@ -4833,7 +4833,7 @@ namespace CppSharp
{
get
{
Declaration __result0;
CppSharp.Parser.AST.Declaration __result0;
if (((Internal*) __Instance)->Declaration == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.Declaration.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->Declaration))
__result0 = (CppSharp.Parser.AST.Declaration) CppSharp.Parser.AST.Declaration.NativeToManagedMap[((Internal*) __Instance)->Declaration];
@ -4981,7 +4981,7 @@ namespace CppSharp @@ -4981,7 +4981,7 @@ namespace CppSharp
{
get
{
Declaration __result0;
CppSharp.Parser.AST.Declaration __result0;
if (((Internal*) __Instance)->Decl == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.Declaration.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->Decl))
__result0 = (CppSharp.Parser.AST.Declaration) CppSharp.Parser.AST.Declaration.NativeToManagedMap[((Internal*) __Instance)->Decl];
@ -5085,7 +5085,7 @@ namespace CppSharp @@ -5085,7 +5085,7 @@ namespace CppSharp
{
get
{
Expression __result0;
CppSharp.Parser.AST.Expression __result0;
if (((Internal*) __Instance)->Subexpression == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.Expression.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->Subexpression))
__result0 = (CppSharp.Parser.AST.Expression) CppSharp.Parser.AST.Expression.NativeToManagedMap[((Internal*) __Instance)->Subexpression];
@ -5221,7 +5221,7 @@ namespace CppSharp @@ -5221,7 +5221,7 @@ namespace CppSharp
{
get
{
Expression __result0;
CppSharp.Parser.AST.Expression __result0;
if (((Internal*) __Instance)->LHS == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.Expression.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->LHS))
__result0 = (CppSharp.Parser.AST.Expression) CppSharp.Parser.AST.Expression.NativeToManagedMap[((Internal*) __Instance)->LHS];
@ -5239,7 +5239,7 @@ namespace CppSharp @@ -5239,7 +5239,7 @@ namespace CppSharp
{
get
{
Expression __result0;
CppSharp.Parser.AST.Expression __result0;
if (((Internal*) __Instance)->RHS == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.Expression.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->RHS))
__result0 = (CppSharp.Parser.AST.Expression) CppSharp.Parser.AST.Expression.NativeToManagedMap[((Internal*) __Instance)->RHS];
@ -5451,7 +5451,7 @@ namespace CppSharp @@ -5451,7 +5451,7 @@ namespace CppSharp
{
get
{
Expression __result0;
CppSharp.Parser.AST.Expression __result0;
if (((Internal*) __Instance)->DefaultArgument == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.Expression.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->DefaultArgument))
__result0 = (CppSharp.Parser.AST.Expression) CppSharp.Parser.AST.Expression.NativeToManagedMap[((Internal*) __Instance)->DefaultArgument];
@ -5665,7 +5665,7 @@ namespace CppSharp @@ -5665,7 +5665,7 @@ namespace CppSharp
public CppSharp.Parser.AST.Parameter getParameters(uint i)
{
var __ret = Internal.getParameters_0(__Instance, i);
Parameter __result0;
CppSharp.Parser.AST.Parameter __result0;
if (__ret == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.Parameter.NativeToManagedMap.ContainsKey(__ret))
__result0 = (CppSharp.Parser.AST.Parameter) CppSharp.Parser.AST.Parameter.NativeToManagedMap[__ret];
@ -5846,7 +5846,7 @@ namespace CppSharp @@ -5846,7 +5846,7 @@ namespace CppSharp
{
get
{
FunctionTemplateSpecialization __result0;
CppSharp.Parser.AST.FunctionTemplateSpecialization __result0;
if (((Internal*) __Instance)->SpecializationInfo == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.FunctionTemplateSpecialization.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->SpecializationInfo))
__result0 = (CppSharp.Parser.AST.FunctionTemplateSpecialization) CppSharp.Parser.AST.FunctionTemplateSpecialization.NativeToManagedMap[((Internal*) __Instance)->SpecializationInfo];
@ -6057,7 +6057,7 @@ namespace CppSharp @@ -6057,7 +6057,7 @@ namespace CppSharp
{
get
{
AccessSpecifierDecl __result0;
CppSharp.Parser.AST.AccessSpecifierDecl __result0;
if (((Internal*) __Instance)->AccessDecl == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.AccessSpecifierDecl.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->AccessDecl))
__result0 = (CppSharp.Parser.AST.AccessSpecifierDecl) CppSharp.Parser.AST.AccessSpecifierDecl.NativeToManagedMap[((Internal*) __Instance)->AccessDecl];
@ -6594,7 +6594,7 @@ namespace CppSharp @@ -6594,7 +6594,7 @@ namespace CppSharp
{
get
{
Type __result0;
CppSharp.Parser.AST.Type __result0;
if (((Internal*) __Instance)->Type == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.Type.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->Type))
__result0 = (CppSharp.Parser.AST.Type) CppSharp.Parser.AST.Type.NativeToManagedMap[((Internal*) __Instance)->Type];
@ -6612,7 +6612,7 @@ namespace CppSharp @@ -6612,7 +6612,7 @@ namespace CppSharp
{
get
{
BuiltinType __result0;
CppSharp.Parser.AST.BuiltinType __result0;
if (((Internal*) __Instance)->BuiltinType == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.BuiltinType.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->BuiltinType))
__result0 = (CppSharp.Parser.AST.BuiltinType) CppSharp.Parser.AST.BuiltinType.NativeToManagedMap[((Internal*) __Instance)->BuiltinType];
@ -6927,7 +6927,7 @@ namespace CppSharp @@ -6927,7 +6927,7 @@ namespace CppSharp
{
get
{
Type __result0;
CppSharp.Parser.AST.Type __result0;
if (((Internal*) __Instance)->Type == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.Type.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->Type))
__result0 = (CppSharp.Parser.AST.Type) CppSharp.Parser.AST.Type.NativeToManagedMap[((Internal*) __Instance)->Type];
@ -7126,7 +7126,7 @@ namespace CppSharp @@ -7126,7 +7126,7 @@ namespace CppSharp
{
get
{
Class __result0;
CppSharp.Parser.AST.Class __result0;
if (((Internal*) __Instance)->Class == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.Class.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->Class))
__result0 = (CppSharp.Parser.AST.Class) CppSharp.Parser.AST.Class.NativeToManagedMap[((Internal*) __Instance)->Class];
@ -7536,7 +7536,7 @@ namespace CppSharp @@ -7536,7 +7536,7 @@ namespace CppSharp
public CppSharp.Parser.AST.BaseClassSpecifier getBases(uint i)
{
var __ret = Internal.getBases_0(__Instance, i);
BaseClassSpecifier __result0;
CppSharp.Parser.AST.BaseClassSpecifier __result0;
if (__ret == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.BaseClassSpecifier.NativeToManagedMap.ContainsKey(__ret))
__result0 = (CppSharp.Parser.AST.BaseClassSpecifier) CppSharp.Parser.AST.BaseClassSpecifier.NativeToManagedMap[__ret];
@ -7558,7 +7558,7 @@ namespace CppSharp @@ -7558,7 +7558,7 @@ namespace CppSharp
public CppSharp.Parser.AST.Field getFields(uint i)
{
var __ret = Internal.getFields_0(__Instance, i);
Field __result0;
CppSharp.Parser.AST.Field __result0;
if (__ret == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.Field.NativeToManagedMap.ContainsKey(__ret))
__result0 = (CppSharp.Parser.AST.Field) CppSharp.Parser.AST.Field.NativeToManagedMap[__ret];
@ -7580,7 +7580,7 @@ namespace CppSharp @@ -7580,7 +7580,7 @@ namespace CppSharp
public CppSharp.Parser.AST.Method getMethods(uint i)
{
var __ret = Internal.getMethods_0(__Instance, i);
Method __result0;
CppSharp.Parser.AST.Method __result0;
if (__ret == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.Method.NativeToManagedMap.ContainsKey(__ret))
__result0 = (CppSharp.Parser.AST.Method) CppSharp.Parser.AST.Method.NativeToManagedMap[__ret];
@ -7602,7 +7602,7 @@ namespace CppSharp @@ -7602,7 +7602,7 @@ namespace CppSharp
public CppSharp.Parser.AST.AccessSpecifierDecl getSpecifiers(uint i)
{
var __ret = Internal.getSpecifiers_0(__Instance, i);
AccessSpecifierDecl __result0;
CppSharp.Parser.AST.AccessSpecifierDecl __result0;
if (__ret == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.AccessSpecifierDecl.NativeToManagedMap.ContainsKey(__ret))
__result0 = (CppSharp.Parser.AST.AccessSpecifierDecl) CppSharp.Parser.AST.AccessSpecifierDecl.NativeToManagedMap[__ret];
@ -7778,7 +7778,7 @@ namespace CppSharp @@ -7778,7 +7778,7 @@ namespace CppSharp
{
get
{
ClassLayout __result0;
CppSharp.Parser.AST.ClassLayout __result0;
if (((Internal*) __Instance)->Layout == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.ClassLayout.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->Layout))
__result0 = (CppSharp.Parser.AST.ClassLayout) CppSharp.Parser.AST.ClassLayout.NativeToManagedMap[((Internal*) __Instance)->Layout];
@ -7988,7 +7988,7 @@ namespace CppSharp @@ -7988,7 +7988,7 @@ namespace CppSharp
{
get
{
Declaration __result0;
CppSharp.Parser.AST.Declaration __result0;
if (((Internal*) __Instance)->TemplatedDecl == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.Declaration.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->TemplatedDecl))
__result0 = (CppSharp.Parser.AST.Declaration) CppSharp.Parser.AST.Declaration.NativeToManagedMap[((Internal*) __Instance)->TemplatedDecl];
@ -8155,7 +8155,7 @@ namespace CppSharp @@ -8155,7 +8155,7 @@ namespace CppSharp
public CppSharp.Parser.AST.ClassTemplateSpecialization getSpecializations(uint i)
{
var __ret = Internal.getSpecializations_0(__Instance, i);
ClassTemplateSpecialization __result0;
CppSharp.Parser.AST.ClassTemplateSpecialization __result0;
if (__ret == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.ClassTemplateSpecialization.NativeToManagedMap.ContainsKey(__ret))
__result0 = (CppSharp.Parser.AST.ClassTemplateSpecialization) CppSharp.Parser.AST.ClassTemplateSpecialization.NativeToManagedMap[__ret];
@ -8400,7 +8400,7 @@ namespace CppSharp @@ -8400,7 +8400,7 @@ namespace CppSharp
{
get
{
ClassTemplate __result0;
CppSharp.Parser.AST.ClassTemplate __result0;
if (((Internal*) __Instance)->TemplatedDecl == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.ClassTemplate.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->TemplatedDecl))
__result0 = (CppSharp.Parser.AST.ClassTemplate) CppSharp.Parser.AST.ClassTemplate.NativeToManagedMap[((Internal*) __Instance)->TemplatedDecl];
@ -8746,7 +8746,7 @@ namespace CppSharp @@ -8746,7 +8746,7 @@ namespace CppSharp
public CppSharp.Parser.AST.FunctionTemplateSpecialization getSpecializations(uint i)
{
var __ret = Internal.getSpecializations_0(__Instance, i);
FunctionTemplateSpecialization __result0;
CppSharp.Parser.AST.FunctionTemplateSpecialization __result0;
if (__ret == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.FunctionTemplateSpecialization.NativeToManagedMap.ContainsKey(__ret))
__result0 = (CppSharp.Parser.AST.FunctionTemplateSpecialization) CppSharp.Parser.AST.FunctionTemplateSpecialization.NativeToManagedMap[__ret];
@ -8932,7 +8932,7 @@ namespace CppSharp @@ -8932,7 +8932,7 @@ namespace CppSharp
{
get
{
FunctionTemplate __result0;
CppSharp.Parser.AST.FunctionTemplate __result0;
if (((Internal*) __Instance)->Template == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.FunctionTemplate.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->Template))
__result0 = (CppSharp.Parser.AST.FunctionTemplate) CppSharp.Parser.AST.FunctionTemplate.NativeToManagedMap[((Internal*) __Instance)->Template];
@ -8950,7 +8950,7 @@ namespace CppSharp @@ -8950,7 +8950,7 @@ namespace CppSharp
{
get
{
Function __result0;
CppSharp.Parser.AST.Function __result0;
if (((Internal*) __Instance)->SpecializedFunction == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.Function.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->SpecializedFunction))
__result0 = (CppSharp.Parser.AST.Function) CppSharp.Parser.AST.Function.NativeToManagedMap[((Internal*) __Instance)->SpecializedFunction];
@ -9585,7 +9585,7 @@ namespace CppSharp @@ -9585,7 +9585,7 @@ namespace CppSharp
{
get
{
MacroDefinition __result0;
CppSharp.Parser.AST.MacroDefinition __result0;
if (((Internal*) __Instance)->Definition == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.MacroDefinition.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->Definition))
__result0 = (CppSharp.Parser.AST.MacroDefinition) CppSharp.Parser.AST.MacroDefinition.NativeToManagedMap[((Internal*) __Instance)->Definition];
@ -9768,7 +9768,7 @@ namespace CppSharp @@ -9768,7 +9768,7 @@ namespace CppSharp
public CppSharp.Parser.AST.MacroDefinition getMacros(uint i)
{
var __ret = Internal.getMacros_0(__Instance, i);
MacroDefinition __result0;
CppSharp.Parser.AST.MacroDefinition __result0;
if (__ret == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.MacroDefinition.NativeToManagedMap.ContainsKey(__ret))
__result0 = (CppSharp.Parser.AST.MacroDefinition) CppSharp.Parser.AST.MacroDefinition.NativeToManagedMap[__ret];
@ -10180,7 +10180,7 @@ namespace CppSharp @@ -10180,7 +10180,7 @@ namespace CppSharp
public CppSharp.Parser.AST.TranslationUnit getTranslationUnits(uint i)
{
var __ret = Internal.getTranslationUnits_0(__Instance, i);
TranslationUnit __result0;
CppSharp.Parser.AST.TranslationUnit __result0;
if (__ret == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.TranslationUnit.NativeToManagedMap.ContainsKey(__ret))
__result0 = (CppSharp.Parser.AST.TranslationUnit) CppSharp.Parser.AST.TranslationUnit.NativeToManagedMap[__ret];
@ -10576,7 +10576,7 @@ namespace CppSharp @@ -10576,7 +10576,7 @@ namespace CppSharp
{
get
{
FullComment __result0;
CppSharp.Parser.AST.FullComment __result0;
if (((Internal*) __Instance)->FullCommentBlock == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.FullComment.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->FullCommentBlock))
__result0 = (CppSharp.Parser.AST.FullComment) CppSharp.Parser.AST.FullComment.NativeToManagedMap[((Internal*) __Instance)->FullCommentBlock];

12
src/CppParser/Bindings/CSharp/i686-pc-win32-msvc/CppParser.cs

@ -504,7 +504,7 @@ namespace CppSharp @@ -504,7 +504,7 @@ namespace CppSharp
{
get
{
ASTContext __result0;
CppSharp.Parser.AST.ASTContext __result0;
if (((Internal*) __Instance)->ASTContext == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.ASTContext.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->ASTContext))
__result0 = (CppSharp.Parser.AST.ASTContext) CppSharp.Parser.AST.ASTContext.NativeToManagedMap[((Internal*) __Instance)->ASTContext];
@ -981,7 +981,7 @@ namespace CppSharp @@ -981,7 +981,7 @@ namespace CppSharp
{
get
{
ASTContext __result0;
CppSharp.Parser.AST.ASTContext __result0;
if (((Internal*) __Instance)->ASTContext == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.ASTContext.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->ASTContext))
__result0 = (CppSharp.Parser.AST.ASTContext) CppSharp.Parser.AST.ASTContext.NativeToManagedMap[((Internal*) __Instance)->ASTContext];
@ -999,7 +999,7 @@ namespace CppSharp @@ -999,7 +999,7 @@ namespace CppSharp
{
get
{
NativeLibrary __result0;
CppSharp.Parser.AST.NativeLibrary __result0;
if (((Internal*) __Instance)->Library == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.NativeLibrary.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->Library))
__result0 = (CppSharp.Parser.AST.NativeLibrary) CppSharp.Parser.AST.NativeLibrary.NativeToManagedMap[((Internal*) __Instance)->Library];
@ -1116,7 +1116,7 @@ namespace CppSharp @@ -1116,7 +1116,7 @@ namespace CppSharp
{
var arg0 = ReferenceEquals(Opts, null) ? global::System.IntPtr.Zero : Opts.__Instance;
var __ret = Internal.ParseHeader_0(arg0);
ParserResult __result0;
CppSharp.Parser.ParserResult __result0;
if (__ret == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.ParserResult.NativeToManagedMap.ContainsKey(__ret))
__result0 = (CppSharp.Parser.ParserResult) CppSharp.Parser.ParserResult.NativeToManagedMap[__ret];
@ -1128,7 +1128,7 @@ namespace CppSharp @@ -1128,7 +1128,7 @@ namespace CppSharp
{
var arg0 = ReferenceEquals(Opts, null) ? global::System.IntPtr.Zero : Opts.__Instance;
var __ret = Internal.ParseLibrary_0(arg0);
ParserResult __result0;
CppSharp.Parser.ParserResult __result0;
if (__ret == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.ParserResult.NativeToManagedMap.ContainsKey(__ret))
__result0 = (CppSharp.Parser.ParserResult) CppSharp.Parser.ParserResult.NativeToManagedMap[__ret];
@ -1140,7 +1140,7 @@ namespace CppSharp @@ -1140,7 +1140,7 @@ namespace CppSharp
{
var arg0 = ReferenceEquals(Opts, null) ? global::System.IntPtr.Zero : Opts.__Instance;
var __ret = Internal.GetTargetInfo_0(arg0);
ParserTargetInfo __result0;
CppSharp.Parser.ParserTargetInfo __result0;
if (__ret == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.ParserTargetInfo.NativeToManagedMap.ContainsKey(__ret))
__result0 = (CppSharp.Parser.ParserTargetInfo) CppSharp.Parser.ParserTargetInfo.NativeToManagedMap[__ret];

100
src/CppParser/Bindings/CSharp/x86_64-apple-darwin12.4.0/AST.cs

@ -583,7 +583,7 @@ namespace CppSharp @@ -583,7 +583,7 @@ namespace CppSharp
{
get
{
Type __result0;
CppSharp.Parser.AST.Type __result0;
if (((Internal*) __Instance)->Type == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.Type.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->Type))
__result0 = (CppSharp.Parser.AST.Type) CppSharp.Parser.AST.Type.NativeToManagedMap[((Internal*) __Instance)->Type];
@ -709,7 +709,7 @@ namespace CppSharp @@ -709,7 +709,7 @@ namespace CppSharp
{
get
{
Declaration __result0;
CppSharp.Parser.AST.Declaration __result0;
if (((Internal*) __Instance)->Declaration == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.Declaration.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->Declaration))
__result0 = (CppSharp.Parser.AST.Declaration) CppSharp.Parser.AST.Declaration.NativeToManagedMap[((Internal*) __Instance)->Declaration];
@ -997,7 +997,7 @@ namespace CppSharp @@ -997,7 +997,7 @@ namespace CppSharp
public CppSharp.Parser.AST.Parameter getParameters(uint i)
{
var __ret = Internal.getParameters_0(__Instance, i);
Parameter __result0;
CppSharp.Parser.AST.Parameter __result0;
if (__ret == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.Parameter.NativeToManagedMap.ContainsKey(__ret))
__result0 = (CppSharp.Parser.AST.Parameter) CppSharp.Parser.AST.Parameter.NativeToManagedMap[__ret];
@ -1390,7 +1390,7 @@ namespace CppSharp @@ -1390,7 +1390,7 @@ namespace CppSharp
{
get
{
TypedefDecl __result0;
CppSharp.Parser.AST.TypedefDecl __result0;
if (((Internal*) __Instance)->Declaration == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.TypedefDecl.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->Declaration))
__result0 = (CppSharp.Parser.AST.TypedefDecl) CppSharp.Parser.AST.TypedefDecl.NativeToManagedMap[((Internal*) __Instance)->Declaration];
@ -1812,7 +1812,7 @@ namespace CppSharp @@ -1812,7 +1812,7 @@ namespace CppSharp
{
get
{
Declaration __result0;
CppSharp.Parser.AST.Declaration __result0;
if (((Internal*) __Instance)->Declaration == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.Declaration.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->Declaration))
__result0 = (CppSharp.Parser.AST.Declaration) CppSharp.Parser.AST.Declaration.NativeToManagedMap[((Internal*) __Instance)->Declaration];
@ -1993,7 +1993,7 @@ namespace CppSharp @@ -1993,7 +1993,7 @@ namespace CppSharp
{
get
{
Template __result0;
CppSharp.Parser.AST.Template __result0;
if (((Internal*) __Instance)->Template == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.Template.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->Template))
__result0 = (CppSharp.Parser.AST.Template) CppSharp.Parser.AST.Template.NativeToManagedMap[((Internal*) __Instance)->Template];
@ -2011,7 +2011,7 @@ namespace CppSharp @@ -2011,7 +2011,7 @@ namespace CppSharp
{
get
{
Type __result0;
CppSharp.Parser.AST.Type __result0;
if (((Internal*) __Instance)->Desugared == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.Type.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->Desugared))
__result0 = (CppSharp.Parser.AST.Type) CppSharp.Parser.AST.Type.NativeToManagedMap[((Internal*) __Instance)->Desugared];
@ -2564,7 +2564,7 @@ namespace CppSharp @@ -2564,7 +2564,7 @@ namespace CppSharp
{
get
{
TemplateSpecializationType __result0;
CppSharp.Parser.AST.TemplateSpecializationType __result0;
if (((Internal*) __Instance)->TemplateSpecialization == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.TemplateSpecializationType.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->TemplateSpecialization))
__result0 = (CppSharp.Parser.AST.TemplateSpecializationType) CppSharp.Parser.AST.TemplateSpecializationType.NativeToManagedMap[((Internal*) __Instance)->TemplateSpecialization];
@ -2582,7 +2582,7 @@ namespace CppSharp @@ -2582,7 +2582,7 @@ namespace CppSharp
{
get
{
Class __result0;
CppSharp.Parser.AST.Class __result0;
if (((Internal*) __Instance)->Class == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.Class.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->Class))
__result0 = (CppSharp.Parser.AST.Class) CppSharp.Parser.AST.Class.NativeToManagedMap[((Internal*) __Instance)->Class];
@ -3017,7 +3017,7 @@ namespace CppSharp @@ -3017,7 +3017,7 @@ namespace CppSharp
{
get
{
Declaration __result0;
CppSharp.Parser.AST.Declaration __result0;
if (((Internal*) __Instance)->Declaration == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.Declaration.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->Declaration))
__result0 = (CppSharp.Parser.AST.Declaration) CppSharp.Parser.AST.Declaration.NativeToManagedMap[((Internal*) __Instance)->Declaration];
@ -3772,7 +3772,7 @@ namespace CppSharp @@ -3772,7 +3772,7 @@ namespace CppSharp
public CppSharp.Parser.AST.PreprocessedEntity getPreprocessedEntities(uint i)
{
var __ret = Internal.getPreprocessedEntities_0(__Instance, i);
PreprocessedEntity __result0;
CppSharp.Parser.AST.PreprocessedEntity __result0;
if (__ret == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.PreprocessedEntity.NativeToManagedMap.ContainsKey(__ret))
__result0 = (CppSharp.Parser.AST.PreprocessedEntity) CppSharp.Parser.AST.PreprocessedEntity.NativeToManagedMap[__ret];
@ -3862,7 +3862,7 @@ namespace CppSharp @@ -3862,7 +3862,7 @@ namespace CppSharp
{
get
{
DeclarationContext __result0;
CppSharp.Parser.AST.DeclarationContext __result0;
if (((Internal*) __Instance)->_Namespace == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.DeclarationContext.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->_Namespace))
__result0 = (CppSharp.Parser.AST.DeclarationContext) CppSharp.Parser.AST.DeclarationContext.NativeToManagedMap[((Internal*) __Instance)->_Namespace];
@ -3919,7 +3919,7 @@ namespace CppSharp @@ -3919,7 +3919,7 @@ namespace CppSharp
{
get
{
RawComment __result0;
CppSharp.Parser.AST.RawComment __result0;
if (((Internal*) __Instance)->Comment == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.RawComment.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->Comment))
__result0 = (CppSharp.Parser.AST.RawComment) CppSharp.Parser.AST.RawComment.NativeToManagedMap[((Internal*) __Instance)->Comment];
@ -3963,7 +3963,7 @@ namespace CppSharp @@ -3963,7 +3963,7 @@ namespace CppSharp
{
get
{
Declaration __result0;
CppSharp.Parser.AST.Declaration __result0;
if (((Internal*) __Instance)->CompleteDeclaration == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.Declaration.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->CompleteDeclaration))
__result0 = (CppSharp.Parser.AST.Declaration) CppSharp.Parser.AST.Declaration.NativeToManagedMap[((Internal*) __Instance)->CompleteDeclaration];
@ -4297,7 +4297,7 @@ namespace CppSharp @@ -4297,7 +4297,7 @@ namespace CppSharp
public CppSharp.Parser.AST.Namespace getNamespaces(uint i)
{
var __ret = Internal.getNamespaces_0(__Instance, i);
Namespace __result0;
CppSharp.Parser.AST.Namespace __result0;
if (__ret == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.Namespace.NativeToManagedMap.ContainsKey(__ret))
__result0 = (CppSharp.Parser.AST.Namespace) CppSharp.Parser.AST.Namespace.NativeToManagedMap[__ret];
@ -4319,7 +4319,7 @@ namespace CppSharp @@ -4319,7 +4319,7 @@ namespace CppSharp
public CppSharp.Parser.AST.Enumeration getEnums(uint i)
{
var __ret = Internal.getEnums_0(__Instance, i);
Enumeration __result0;
CppSharp.Parser.AST.Enumeration __result0;
if (__ret == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.Enumeration.NativeToManagedMap.ContainsKey(__ret))
__result0 = (CppSharp.Parser.AST.Enumeration) CppSharp.Parser.AST.Enumeration.NativeToManagedMap[__ret];
@ -4341,7 +4341,7 @@ namespace CppSharp @@ -4341,7 +4341,7 @@ namespace CppSharp
public CppSharp.Parser.AST.Function getFunctions(uint i)
{
var __ret = Internal.getFunctions_0(__Instance, i);
Function __result0;
CppSharp.Parser.AST.Function __result0;
if (__ret == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.Function.NativeToManagedMap.ContainsKey(__ret))
__result0 = (CppSharp.Parser.AST.Function) CppSharp.Parser.AST.Function.NativeToManagedMap[__ret];
@ -4363,7 +4363,7 @@ namespace CppSharp @@ -4363,7 +4363,7 @@ namespace CppSharp
public CppSharp.Parser.AST.Class getClasses(uint i)
{
var __ret = Internal.getClasses_0(__Instance, i);
Class __result0;
CppSharp.Parser.AST.Class __result0;
if (__ret == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.Class.NativeToManagedMap.ContainsKey(__ret))
__result0 = (CppSharp.Parser.AST.Class) CppSharp.Parser.AST.Class.NativeToManagedMap[__ret];
@ -4385,7 +4385,7 @@ namespace CppSharp @@ -4385,7 +4385,7 @@ namespace CppSharp
public CppSharp.Parser.AST.Template getTemplates(uint i)
{
var __ret = Internal.getTemplates_0(__Instance, i);
Template __result0;
CppSharp.Parser.AST.Template __result0;
if (__ret == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.Template.NativeToManagedMap.ContainsKey(__ret))
__result0 = (CppSharp.Parser.AST.Template) CppSharp.Parser.AST.Template.NativeToManagedMap[__ret];
@ -4407,7 +4407,7 @@ namespace CppSharp @@ -4407,7 +4407,7 @@ namespace CppSharp
public CppSharp.Parser.AST.TypedefDecl getTypedefs(uint i)
{
var __ret = Internal.getTypedefs_0(__Instance, i);
TypedefDecl __result0;
CppSharp.Parser.AST.TypedefDecl __result0;
if (__ret == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.TypedefDecl.NativeToManagedMap.ContainsKey(__ret))
__result0 = (CppSharp.Parser.AST.TypedefDecl) CppSharp.Parser.AST.TypedefDecl.NativeToManagedMap[__ret];
@ -4429,7 +4429,7 @@ namespace CppSharp @@ -4429,7 +4429,7 @@ namespace CppSharp
public CppSharp.Parser.AST.Variable getVariables(uint i)
{
var __ret = Internal.getVariables_0(__Instance, i);
Variable __result0;
CppSharp.Parser.AST.Variable __result0;
if (__ret == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.Variable.NativeToManagedMap.ContainsKey(__ret))
__result0 = (CppSharp.Parser.AST.Variable) CppSharp.Parser.AST.Variable.NativeToManagedMap[__ret];
@ -4451,7 +4451,7 @@ namespace CppSharp @@ -4451,7 +4451,7 @@ namespace CppSharp
public CppSharp.Parser.AST.Friend getFriends(uint i)
{
var __ret = Internal.getFriends_0(__Instance, i);
Friend __result0;
CppSharp.Parser.AST.Friend __result0;
if (__ret == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.Friend.NativeToManagedMap.ContainsKey(__ret))
__result0 = (CppSharp.Parser.AST.Friend) CppSharp.Parser.AST.Friend.NativeToManagedMap[__ret];
@ -4832,7 +4832,7 @@ namespace CppSharp @@ -4832,7 +4832,7 @@ namespace CppSharp
{
get
{
Declaration __result0;
CppSharp.Parser.AST.Declaration __result0;
if (((Internal*) __Instance)->Declaration == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.Declaration.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->Declaration))
__result0 = (CppSharp.Parser.AST.Declaration) CppSharp.Parser.AST.Declaration.NativeToManagedMap[((Internal*) __Instance)->Declaration];
@ -4980,7 +4980,7 @@ namespace CppSharp @@ -4980,7 +4980,7 @@ namespace CppSharp
{
get
{
Declaration __result0;
CppSharp.Parser.AST.Declaration __result0;
if (((Internal*) __Instance)->Decl == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.Declaration.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->Decl))
__result0 = (CppSharp.Parser.AST.Declaration) CppSharp.Parser.AST.Declaration.NativeToManagedMap[((Internal*) __Instance)->Decl];
@ -5084,7 +5084,7 @@ namespace CppSharp @@ -5084,7 +5084,7 @@ namespace CppSharp
{
get
{
Expression __result0;
CppSharp.Parser.AST.Expression __result0;
if (((Internal*) __Instance)->Subexpression == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.Expression.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->Subexpression))
__result0 = (CppSharp.Parser.AST.Expression) CppSharp.Parser.AST.Expression.NativeToManagedMap[((Internal*) __Instance)->Subexpression];
@ -5220,7 +5220,7 @@ namespace CppSharp @@ -5220,7 +5220,7 @@ namespace CppSharp
{
get
{
Expression __result0;
CppSharp.Parser.AST.Expression __result0;
if (((Internal*) __Instance)->LHS == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.Expression.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->LHS))
__result0 = (CppSharp.Parser.AST.Expression) CppSharp.Parser.AST.Expression.NativeToManagedMap[((Internal*) __Instance)->LHS];
@ -5238,7 +5238,7 @@ namespace CppSharp @@ -5238,7 +5238,7 @@ namespace CppSharp
{
get
{
Expression __result0;
CppSharp.Parser.AST.Expression __result0;
if (((Internal*) __Instance)->RHS == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.Expression.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->RHS))
__result0 = (CppSharp.Parser.AST.Expression) CppSharp.Parser.AST.Expression.NativeToManagedMap[((Internal*) __Instance)->RHS];
@ -5450,7 +5450,7 @@ namespace CppSharp @@ -5450,7 +5450,7 @@ namespace CppSharp
{
get
{
Expression __result0;
CppSharp.Parser.AST.Expression __result0;
if (((Internal*) __Instance)->DefaultArgument == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.Expression.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->DefaultArgument))
__result0 = (CppSharp.Parser.AST.Expression) CppSharp.Parser.AST.Expression.NativeToManagedMap[((Internal*) __Instance)->DefaultArgument];
@ -5664,7 +5664,7 @@ namespace CppSharp @@ -5664,7 +5664,7 @@ namespace CppSharp
public CppSharp.Parser.AST.Parameter getParameters(uint i)
{
var __ret = Internal.getParameters_0(__Instance, i);
Parameter __result0;
CppSharp.Parser.AST.Parameter __result0;
if (__ret == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.Parameter.NativeToManagedMap.ContainsKey(__ret))
__result0 = (CppSharp.Parser.AST.Parameter) CppSharp.Parser.AST.Parameter.NativeToManagedMap[__ret];
@ -5845,7 +5845,7 @@ namespace CppSharp @@ -5845,7 +5845,7 @@ namespace CppSharp
{
get
{
FunctionTemplateSpecialization __result0;
CppSharp.Parser.AST.FunctionTemplateSpecialization __result0;
if (((Internal*) __Instance)->SpecializationInfo == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.FunctionTemplateSpecialization.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->SpecializationInfo))
__result0 = (CppSharp.Parser.AST.FunctionTemplateSpecialization) CppSharp.Parser.AST.FunctionTemplateSpecialization.NativeToManagedMap[((Internal*) __Instance)->SpecializationInfo];
@ -6056,7 +6056,7 @@ namespace CppSharp @@ -6056,7 +6056,7 @@ namespace CppSharp
{
get
{
AccessSpecifierDecl __result0;
CppSharp.Parser.AST.AccessSpecifierDecl __result0;
if (((Internal*) __Instance)->AccessDecl == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.AccessSpecifierDecl.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->AccessDecl))
__result0 = (CppSharp.Parser.AST.AccessSpecifierDecl) CppSharp.Parser.AST.AccessSpecifierDecl.NativeToManagedMap[((Internal*) __Instance)->AccessDecl];
@ -6593,7 +6593,7 @@ namespace CppSharp @@ -6593,7 +6593,7 @@ namespace CppSharp
{
get
{
Type __result0;
CppSharp.Parser.AST.Type __result0;
if (((Internal*) __Instance)->Type == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.Type.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->Type))
__result0 = (CppSharp.Parser.AST.Type) CppSharp.Parser.AST.Type.NativeToManagedMap[((Internal*) __Instance)->Type];
@ -6611,7 +6611,7 @@ namespace CppSharp @@ -6611,7 +6611,7 @@ namespace CppSharp
{
get
{
BuiltinType __result0;
CppSharp.Parser.AST.BuiltinType __result0;
if (((Internal*) __Instance)->BuiltinType == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.BuiltinType.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->BuiltinType))
__result0 = (CppSharp.Parser.AST.BuiltinType) CppSharp.Parser.AST.BuiltinType.NativeToManagedMap[((Internal*) __Instance)->BuiltinType];
@ -6926,7 +6926,7 @@ namespace CppSharp @@ -6926,7 +6926,7 @@ namespace CppSharp
{
get
{
Type __result0;
CppSharp.Parser.AST.Type __result0;
if (((Internal*) __Instance)->Type == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.Type.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->Type))
__result0 = (CppSharp.Parser.AST.Type) CppSharp.Parser.AST.Type.NativeToManagedMap[((Internal*) __Instance)->Type];
@ -7125,7 +7125,7 @@ namespace CppSharp @@ -7125,7 +7125,7 @@ namespace CppSharp
{
get
{
Class __result0;
CppSharp.Parser.AST.Class __result0;
if (((Internal*) __Instance)->Class == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.Class.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->Class))
__result0 = (CppSharp.Parser.AST.Class) CppSharp.Parser.AST.Class.NativeToManagedMap[((Internal*) __Instance)->Class];
@ -7535,7 +7535,7 @@ namespace CppSharp @@ -7535,7 +7535,7 @@ namespace CppSharp
public CppSharp.Parser.AST.BaseClassSpecifier getBases(uint i)
{
var __ret = Internal.getBases_0(__Instance, i);
BaseClassSpecifier __result0;
CppSharp.Parser.AST.BaseClassSpecifier __result0;
if (__ret == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.BaseClassSpecifier.NativeToManagedMap.ContainsKey(__ret))
__result0 = (CppSharp.Parser.AST.BaseClassSpecifier) CppSharp.Parser.AST.BaseClassSpecifier.NativeToManagedMap[__ret];
@ -7557,7 +7557,7 @@ namespace CppSharp @@ -7557,7 +7557,7 @@ namespace CppSharp
public CppSharp.Parser.AST.Field getFields(uint i)
{
var __ret = Internal.getFields_0(__Instance, i);
Field __result0;
CppSharp.Parser.AST.Field __result0;
if (__ret == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.Field.NativeToManagedMap.ContainsKey(__ret))
__result0 = (CppSharp.Parser.AST.Field) CppSharp.Parser.AST.Field.NativeToManagedMap[__ret];
@ -7579,7 +7579,7 @@ namespace CppSharp @@ -7579,7 +7579,7 @@ namespace CppSharp
public CppSharp.Parser.AST.Method getMethods(uint i)
{
var __ret = Internal.getMethods_0(__Instance, i);
Method __result0;
CppSharp.Parser.AST.Method __result0;
if (__ret == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.Method.NativeToManagedMap.ContainsKey(__ret))
__result0 = (CppSharp.Parser.AST.Method) CppSharp.Parser.AST.Method.NativeToManagedMap[__ret];
@ -7601,7 +7601,7 @@ namespace CppSharp @@ -7601,7 +7601,7 @@ namespace CppSharp
public CppSharp.Parser.AST.AccessSpecifierDecl getSpecifiers(uint i)
{
var __ret = Internal.getSpecifiers_0(__Instance, i);
AccessSpecifierDecl __result0;
CppSharp.Parser.AST.AccessSpecifierDecl __result0;
if (__ret == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.AccessSpecifierDecl.NativeToManagedMap.ContainsKey(__ret))
__result0 = (CppSharp.Parser.AST.AccessSpecifierDecl) CppSharp.Parser.AST.AccessSpecifierDecl.NativeToManagedMap[__ret];
@ -7777,7 +7777,7 @@ namespace CppSharp @@ -7777,7 +7777,7 @@ namespace CppSharp
{
get
{
ClassLayout __result0;
CppSharp.Parser.AST.ClassLayout __result0;
if (((Internal*) __Instance)->Layout == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.ClassLayout.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->Layout))
__result0 = (CppSharp.Parser.AST.ClassLayout) CppSharp.Parser.AST.ClassLayout.NativeToManagedMap[((Internal*) __Instance)->Layout];
@ -7987,7 +7987,7 @@ namespace CppSharp @@ -7987,7 +7987,7 @@ namespace CppSharp
{
get
{
Declaration __result0;
CppSharp.Parser.AST.Declaration __result0;
if (((Internal*) __Instance)->TemplatedDecl == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.Declaration.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->TemplatedDecl))
__result0 = (CppSharp.Parser.AST.Declaration) CppSharp.Parser.AST.Declaration.NativeToManagedMap[((Internal*) __Instance)->TemplatedDecl];
@ -8154,7 +8154,7 @@ namespace CppSharp @@ -8154,7 +8154,7 @@ namespace CppSharp
public CppSharp.Parser.AST.ClassTemplateSpecialization getSpecializations(uint i)
{
var __ret = Internal.getSpecializations_0(__Instance, i);
ClassTemplateSpecialization __result0;
CppSharp.Parser.AST.ClassTemplateSpecialization __result0;
if (__ret == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.ClassTemplateSpecialization.NativeToManagedMap.ContainsKey(__ret))
__result0 = (CppSharp.Parser.AST.ClassTemplateSpecialization) CppSharp.Parser.AST.ClassTemplateSpecialization.NativeToManagedMap[__ret];
@ -8399,7 +8399,7 @@ namespace CppSharp @@ -8399,7 +8399,7 @@ namespace CppSharp
{
get
{
ClassTemplate __result0;
CppSharp.Parser.AST.ClassTemplate __result0;
if (((Internal*) __Instance)->TemplatedDecl == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.ClassTemplate.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->TemplatedDecl))
__result0 = (CppSharp.Parser.AST.ClassTemplate) CppSharp.Parser.AST.ClassTemplate.NativeToManagedMap[((Internal*) __Instance)->TemplatedDecl];
@ -8745,7 +8745,7 @@ namespace CppSharp @@ -8745,7 +8745,7 @@ namespace CppSharp
public CppSharp.Parser.AST.FunctionTemplateSpecialization getSpecializations(uint i)
{
var __ret = Internal.getSpecializations_0(__Instance, i);
FunctionTemplateSpecialization __result0;
CppSharp.Parser.AST.FunctionTemplateSpecialization __result0;
if (__ret == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.FunctionTemplateSpecialization.NativeToManagedMap.ContainsKey(__ret))
__result0 = (CppSharp.Parser.AST.FunctionTemplateSpecialization) CppSharp.Parser.AST.FunctionTemplateSpecialization.NativeToManagedMap[__ret];
@ -8931,7 +8931,7 @@ namespace CppSharp @@ -8931,7 +8931,7 @@ namespace CppSharp
{
get
{
FunctionTemplate __result0;
CppSharp.Parser.AST.FunctionTemplate __result0;
if (((Internal*) __Instance)->Template == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.FunctionTemplate.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->Template))
__result0 = (CppSharp.Parser.AST.FunctionTemplate) CppSharp.Parser.AST.FunctionTemplate.NativeToManagedMap[((Internal*) __Instance)->Template];
@ -8949,7 +8949,7 @@ namespace CppSharp @@ -8949,7 +8949,7 @@ namespace CppSharp
{
get
{
Function __result0;
CppSharp.Parser.AST.Function __result0;
if (((Internal*) __Instance)->SpecializedFunction == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.Function.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->SpecializedFunction))
__result0 = (CppSharp.Parser.AST.Function) CppSharp.Parser.AST.Function.NativeToManagedMap[((Internal*) __Instance)->SpecializedFunction];
@ -9584,7 +9584,7 @@ namespace CppSharp @@ -9584,7 +9584,7 @@ namespace CppSharp
{
get
{
MacroDefinition __result0;
CppSharp.Parser.AST.MacroDefinition __result0;
if (((Internal*) __Instance)->Definition == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.MacroDefinition.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->Definition))
__result0 = (CppSharp.Parser.AST.MacroDefinition) CppSharp.Parser.AST.MacroDefinition.NativeToManagedMap[((Internal*) __Instance)->Definition];
@ -9767,7 +9767,7 @@ namespace CppSharp @@ -9767,7 +9767,7 @@ namespace CppSharp
public CppSharp.Parser.AST.MacroDefinition getMacros(uint i)
{
var __ret = Internal.getMacros_0(__Instance, i);
MacroDefinition __result0;
CppSharp.Parser.AST.MacroDefinition __result0;
if (__ret == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.MacroDefinition.NativeToManagedMap.ContainsKey(__ret))
__result0 = (CppSharp.Parser.AST.MacroDefinition) CppSharp.Parser.AST.MacroDefinition.NativeToManagedMap[__ret];
@ -10179,7 +10179,7 @@ namespace CppSharp @@ -10179,7 +10179,7 @@ namespace CppSharp
public CppSharp.Parser.AST.TranslationUnit getTranslationUnits(uint i)
{
var __ret = Internal.getTranslationUnits_0(__Instance, i);
TranslationUnit __result0;
CppSharp.Parser.AST.TranslationUnit __result0;
if (__ret == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.TranslationUnit.NativeToManagedMap.ContainsKey(__ret))
__result0 = (CppSharp.Parser.AST.TranslationUnit) CppSharp.Parser.AST.TranslationUnit.NativeToManagedMap[__ret];
@ -10575,7 +10575,7 @@ namespace CppSharp @@ -10575,7 +10575,7 @@ namespace CppSharp
{
get
{
FullComment __result0;
CppSharp.Parser.AST.FullComment __result0;
if (((Internal*) __Instance)->FullCommentBlock == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.FullComment.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->FullCommentBlock))
__result0 = (CppSharp.Parser.AST.FullComment) CppSharp.Parser.AST.FullComment.NativeToManagedMap[((Internal*) __Instance)->FullCommentBlock];

12
src/CppParser/Bindings/CSharp/x86_64-apple-darwin12.4.0/CppParser.cs

@ -504,7 +504,7 @@ namespace CppSharp @@ -504,7 +504,7 @@ namespace CppSharp
{
get
{
ASTContext __result0;
CppSharp.Parser.AST.ASTContext __result0;
if (((Internal*) __Instance)->ASTContext == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.ASTContext.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->ASTContext))
__result0 = (CppSharp.Parser.AST.ASTContext) CppSharp.Parser.AST.ASTContext.NativeToManagedMap[((Internal*) __Instance)->ASTContext];
@ -981,7 +981,7 @@ namespace CppSharp @@ -981,7 +981,7 @@ namespace CppSharp
{
get
{
ASTContext __result0;
CppSharp.Parser.AST.ASTContext __result0;
if (((Internal*) __Instance)->ASTContext == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.ASTContext.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->ASTContext))
__result0 = (CppSharp.Parser.AST.ASTContext) CppSharp.Parser.AST.ASTContext.NativeToManagedMap[((Internal*) __Instance)->ASTContext];
@ -999,7 +999,7 @@ namespace CppSharp @@ -999,7 +999,7 @@ namespace CppSharp
{
get
{
NativeLibrary __result0;
CppSharp.Parser.AST.NativeLibrary __result0;
if (((Internal*) __Instance)->Library == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.NativeLibrary.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->Library))
__result0 = (CppSharp.Parser.AST.NativeLibrary) CppSharp.Parser.AST.NativeLibrary.NativeToManagedMap[((Internal*) __Instance)->Library];
@ -1116,7 +1116,7 @@ namespace CppSharp @@ -1116,7 +1116,7 @@ namespace CppSharp
{
var arg0 = ReferenceEquals(Opts, null) ? global::System.IntPtr.Zero : Opts.__Instance;
var __ret = Internal.ParseHeader_0(arg0);
ParserResult __result0;
CppSharp.Parser.ParserResult __result0;
if (__ret == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.ParserResult.NativeToManagedMap.ContainsKey(__ret))
__result0 = (CppSharp.Parser.ParserResult) CppSharp.Parser.ParserResult.NativeToManagedMap[__ret];
@ -1128,7 +1128,7 @@ namespace CppSharp @@ -1128,7 +1128,7 @@ namespace CppSharp
{
var arg0 = ReferenceEquals(Opts, null) ? global::System.IntPtr.Zero : Opts.__Instance;
var __ret = Internal.ParseLibrary_0(arg0);
ParserResult __result0;
CppSharp.Parser.ParserResult __result0;
if (__ret == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.ParserResult.NativeToManagedMap.ContainsKey(__ret))
__result0 = (CppSharp.Parser.ParserResult) CppSharp.Parser.ParserResult.NativeToManagedMap[__ret];
@ -1140,7 +1140,7 @@ namespace CppSharp @@ -1140,7 +1140,7 @@ namespace CppSharp
{
var arg0 = ReferenceEquals(Opts, null) ? global::System.IntPtr.Zero : Opts.__Instance;
var __ret = Internal.GetTargetInfo_0(arg0);
ParserTargetInfo __result0;
CppSharp.Parser.ParserTargetInfo __result0;
if (__ret == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.ParserTargetInfo.NativeToManagedMap.ContainsKey(__ret))
__result0 = (CppSharp.Parser.ParserTargetInfo) CppSharp.Parser.ParserTargetInfo.NativeToManagedMap[__ret];

100
src/CppParser/Bindings/CSharp/x86_64-linux-gnu/AST.cs

@ -583,7 +583,7 @@ namespace CppSharp @@ -583,7 +583,7 @@ namespace CppSharp
{
get
{
Type __result0;
CppSharp.Parser.AST.Type __result0;
if (((Internal*) __Instance)->Type == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.Type.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->Type))
__result0 = (CppSharp.Parser.AST.Type) CppSharp.Parser.AST.Type.NativeToManagedMap[((Internal*) __Instance)->Type];
@ -709,7 +709,7 @@ namespace CppSharp @@ -709,7 +709,7 @@ namespace CppSharp
{
get
{
Declaration __result0;
CppSharp.Parser.AST.Declaration __result0;
if (((Internal*) __Instance)->Declaration == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.Declaration.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->Declaration))
__result0 = (CppSharp.Parser.AST.Declaration) CppSharp.Parser.AST.Declaration.NativeToManagedMap[((Internal*) __Instance)->Declaration];
@ -997,7 +997,7 @@ namespace CppSharp @@ -997,7 +997,7 @@ namespace CppSharp
public CppSharp.Parser.AST.Parameter getParameters(uint i)
{
var __ret = Internal.getParameters_0(__Instance, i);
Parameter __result0;
CppSharp.Parser.AST.Parameter __result0;
if (__ret == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.Parameter.NativeToManagedMap.ContainsKey(__ret))
__result0 = (CppSharp.Parser.AST.Parameter) CppSharp.Parser.AST.Parameter.NativeToManagedMap[__ret];
@ -1390,7 +1390,7 @@ namespace CppSharp @@ -1390,7 +1390,7 @@ namespace CppSharp
{
get
{
TypedefDecl __result0;
CppSharp.Parser.AST.TypedefDecl __result0;
if (((Internal*) __Instance)->Declaration == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.TypedefDecl.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->Declaration))
__result0 = (CppSharp.Parser.AST.TypedefDecl) CppSharp.Parser.AST.TypedefDecl.NativeToManagedMap[((Internal*) __Instance)->Declaration];
@ -1812,7 +1812,7 @@ namespace CppSharp @@ -1812,7 +1812,7 @@ namespace CppSharp
{
get
{
Declaration __result0;
CppSharp.Parser.AST.Declaration __result0;
if (((Internal*) __Instance)->Declaration == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.Declaration.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->Declaration))
__result0 = (CppSharp.Parser.AST.Declaration) CppSharp.Parser.AST.Declaration.NativeToManagedMap[((Internal*) __Instance)->Declaration];
@ -1993,7 +1993,7 @@ namespace CppSharp @@ -1993,7 +1993,7 @@ namespace CppSharp
{
get
{
Template __result0;
CppSharp.Parser.AST.Template __result0;
if (((Internal*) __Instance)->Template == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.Template.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->Template))
__result0 = (CppSharp.Parser.AST.Template) CppSharp.Parser.AST.Template.NativeToManagedMap[((Internal*) __Instance)->Template];
@ -2011,7 +2011,7 @@ namespace CppSharp @@ -2011,7 +2011,7 @@ namespace CppSharp
{
get
{
Type __result0;
CppSharp.Parser.AST.Type __result0;
if (((Internal*) __Instance)->Desugared == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.Type.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->Desugared))
__result0 = (CppSharp.Parser.AST.Type) CppSharp.Parser.AST.Type.NativeToManagedMap[((Internal*) __Instance)->Desugared];
@ -2564,7 +2564,7 @@ namespace CppSharp @@ -2564,7 +2564,7 @@ namespace CppSharp
{
get
{
TemplateSpecializationType __result0;
CppSharp.Parser.AST.TemplateSpecializationType __result0;
if (((Internal*) __Instance)->TemplateSpecialization == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.TemplateSpecializationType.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->TemplateSpecialization))
__result0 = (CppSharp.Parser.AST.TemplateSpecializationType) CppSharp.Parser.AST.TemplateSpecializationType.NativeToManagedMap[((Internal*) __Instance)->TemplateSpecialization];
@ -2582,7 +2582,7 @@ namespace CppSharp @@ -2582,7 +2582,7 @@ namespace CppSharp
{
get
{
Class __result0;
CppSharp.Parser.AST.Class __result0;
if (((Internal*) __Instance)->Class == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.Class.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->Class))
__result0 = (CppSharp.Parser.AST.Class) CppSharp.Parser.AST.Class.NativeToManagedMap[((Internal*) __Instance)->Class];
@ -3017,7 +3017,7 @@ namespace CppSharp @@ -3017,7 +3017,7 @@ namespace CppSharp
{
get
{
Declaration __result0;
CppSharp.Parser.AST.Declaration __result0;
if (((Internal*) __Instance)->Declaration == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.Declaration.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->Declaration))
__result0 = (CppSharp.Parser.AST.Declaration) CppSharp.Parser.AST.Declaration.NativeToManagedMap[((Internal*) __Instance)->Declaration];
@ -3772,7 +3772,7 @@ namespace CppSharp @@ -3772,7 +3772,7 @@ namespace CppSharp
public CppSharp.Parser.AST.PreprocessedEntity getPreprocessedEntities(uint i)
{
var __ret = Internal.getPreprocessedEntities_0(__Instance, i);
PreprocessedEntity __result0;
CppSharp.Parser.AST.PreprocessedEntity __result0;
if (__ret == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.PreprocessedEntity.NativeToManagedMap.ContainsKey(__ret))
__result0 = (CppSharp.Parser.AST.PreprocessedEntity) CppSharp.Parser.AST.PreprocessedEntity.NativeToManagedMap[__ret];
@ -3862,7 +3862,7 @@ namespace CppSharp @@ -3862,7 +3862,7 @@ namespace CppSharp
{
get
{
DeclarationContext __result0;
CppSharp.Parser.AST.DeclarationContext __result0;
if (((Internal*) __Instance)->_Namespace == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.DeclarationContext.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->_Namespace))
__result0 = (CppSharp.Parser.AST.DeclarationContext) CppSharp.Parser.AST.DeclarationContext.NativeToManagedMap[((Internal*) __Instance)->_Namespace];
@ -3919,7 +3919,7 @@ namespace CppSharp @@ -3919,7 +3919,7 @@ namespace CppSharp
{
get
{
RawComment __result0;
CppSharp.Parser.AST.RawComment __result0;
if (((Internal*) __Instance)->Comment == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.RawComment.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->Comment))
__result0 = (CppSharp.Parser.AST.RawComment) CppSharp.Parser.AST.RawComment.NativeToManagedMap[((Internal*) __Instance)->Comment];
@ -3963,7 +3963,7 @@ namespace CppSharp @@ -3963,7 +3963,7 @@ namespace CppSharp
{
get
{
Declaration __result0;
CppSharp.Parser.AST.Declaration __result0;
if (((Internal*) __Instance)->CompleteDeclaration == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.Declaration.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->CompleteDeclaration))
__result0 = (CppSharp.Parser.AST.Declaration) CppSharp.Parser.AST.Declaration.NativeToManagedMap[((Internal*) __Instance)->CompleteDeclaration];
@ -4297,7 +4297,7 @@ namespace CppSharp @@ -4297,7 +4297,7 @@ namespace CppSharp
public CppSharp.Parser.AST.Namespace getNamespaces(uint i)
{
var __ret = Internal.getNamespaces_0(__Instance, i);
Namespace __result0;
CppSharp.Parser.AST.Namespace __result0;
if (__ret == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.Namespace.NativeToManagedMap.ContainsKey(__ret))
__result0 = (CppSharp.Parser.AST.Namespace) CppSharp.Parser.AST.Namespace.NativeToManagedMap[__ret];
@ -4319,7 +4319,7 @@ namespace CppSharp @@ -4319,7 +4319,7 @@ namespace CppSharp
public CppSharp.Parser.AST.Enumeration getEnums(uint i)
{
var __ret = Internal.getEnums_0(__Instance, i);
Enumeration __result0;
CppSharp.Parser.AST.Enumeration __result0;
if (__ret == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.Enumeration.NativeToManagedMap.ContainsKey(__ret))
__result0 = (CppSharp.Parser.AST.Enumeration) CppSharp.Parser.AST.Enumeration.NativeToManagedMap[__ret];
@ -4341,7 +4341,7 @@ namespace CppSharp @@ -4341,7 +4341,7 @@ namespace CppSharp
public CppSharp.Parser.AST.Function getFunctions(uint i)
{
var __ret = Internal.getFunctions_0(__Instance, i);
Function __result0;
CppSharp.Parser.AST.Function __result0;
if (__ret == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.Function.NativeToManagedMap.ContainsKey(__ret))
__result0 = (CppSharp.Parser.AST.Function) CppSharp.Parser.AST.Function.NativeToManagedMap[__ret];
@ -4363,7 +4363,7 @@ namespace CppSharp @@ -4363,7 +4363,7 @@ namespace CppSharp
public CppSharp.Parser.AST.Class getClasses(uint i)
{
var __ret = Internal.getClasses_0(__Instance, i);
Class __result0;
CppSharp.Parser.AST.Class __result0;
if (__ret == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.Class.NativeToManagedMap.ContainsKey(__ret))
__result0 = (CppSharp.Parser.AST.Class) CppSharp.Parser.AST.Class.NativeToManagedMap[__ret];
@ -4385,7 +4385,7 @@ namespace CppSharp @@ -4385,7 +4385,7 @@ namespace CppSharp
public CppSharp.Parser.AST.Template getTemplates(uint i)
{
var __ret = Internal.getTemplates_0(__Instance, i);
Template __result0;
CppSharp.Parser.AST.Template __result0;
if (__ret == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.Template.NativeToManagedMap.ContainsKey(__ret))
__result0 = (CppSharp.Parser.AST.Template) CppSharp.Parser.AST.Template.NativeToManagedMap[__ret];
@ -4407,7 +4407,7 @@ namespace CppSharp @@ -4407,7 +4407,7 @@ namespace CppSharp
public CppSharp.Parser.AST.TypedefDecl getTypedefs(uint i)
{
var __ret = Internal.getTypedefs_0(__Instance, i);
TypedefDecl __result0;
CppSharp.Parser.AST.TypedefDecl __result0;
if (__ret == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.TypedefDecl.NativeToManagedMap.ContainsKey(__ret))
__result0 = (CppSharp.Parser.AST.TypedefDecl) CppSharp.Parser.AST.TypedefDecl.NativeToManagedMap[__ret];
@ -4429,7 +4429,7 @@ namespace CppSharp @@ -4429,7 +4429,7 @@ namespace CppSharp
public CppSharp.Parser.AST.Variable getVariables(uint i)
{
var __ret = Internal.getVariables_0(__Instance, i);
Variable __result0;
CppSharp.Parser.AST.Variable __result0;
if (__ret == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.Variable.NativeToManagedMap.ContainsKey(__ret))
__result0 = (CppSharp.Parser.AST.Variable) CppSharp.Parser.AST.Variable.NativeToManagedMap[__ret];
@ -4451,7 +4451,7 @@ namespace CppSharp @@ -4451,7 +4451,7 @@ namespace CppSharp
public CppSharp.Parser.AST.Friend getFriends(uint i)
{
var __ret = Internal.getFriends_0(__Instance, i);
Friend __result0;
CppSharp.Parser.AST.Friend __result0;
if (__ret == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.Friend.NativeToManagedMap.ContainsKey(__ret))
__result0 = (CppSharp.Parser.AST.Friend) CppSharp.Parser.AST.Friend.NativeToManagedMap[__ret];
@ -4832,7 +4832,7 @@ namespace CppSharp @@ -4832,7 +4832,7 @@ namespace CppSharp
{
get
{
Declaration __result0;
CppSharp.Parser.AST.Declaration __result0;
if (((Internal*) __Instance)->Declaration == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.Declaration.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->Declaration))
__result0 = (CppSharp.Parser.AST.Declaration) CppSharp.Parser.AST.Declaration.NativeToManagedMap[((Internal*) __Instance)->Declaration];
@ -4980,7 +4980,7 @@ namespace CppSharp @@ -4980,7 +4980,7 @@ namespace CppSharp
{
get
{
Declaration __result0;
CppSharp.Parser.AST.Declaration __result0;
if (((Internal*) __Instance)->Decl == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.Declaration.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->Decl))
__result0 = (CppSharp.Parser.AST.Declaration) CppSharp.Parser.AST.Declaration.NativeToManagedMap[((Internal*) __Instance)->Decl];
@ -5084,7 +5084,7 @@ namespace CppSharp @@ -5084,7 +5084,7 @@ namespace CppSharp
{
get
{
Expression __result0;
CppSharp.Parser.AST.Expression __result0;
if (((Internal*) __Instance)->Subexpression == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.Expression.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->Subexpression))
__result0 = (CppSharp.Parser.AST.Expression) CppSharp.Parser.AST.Expression.NativeToManagedMap[((Internal*) __Instance)->Subexpression];
@ -5220,7 +5220,7 @@ namespace CppSharp @@ -5220,7 +5220,7 @@ namespace CppSharp
{
get
{
Expression __result0;
CppSharp.Parser.AST.Expression __result0;
if (((Internal*) __Instance)->LHS == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.Expression.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->LHS))
__result0 = (CppSharp.Parser.AST.Expression) CppSharp.Parser.AST.Expression.NativeToManagedMap[((Internal*) __Instance)->LHS];
@ -5238,7 +5238,7 @@ namespace CppSharp @@ -5238,7 +5238,7 @@ namespace CppSharp
{
get
{
Expression __result0;
CppSharp.Parser.AST.Expression __result0;
if (((Internal*) __Instance)->RHS == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.Expression.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->RHS))
__result0 = (CppSharp.Parser.AST.Expression) CppSharp.Parser.AST.Expression.NativeToManagedMap[((Internal*) __Instance)->RHS];
@ -5450,7 +5450,7 @@ namespace CppSharp @@ -5450,7 +5450,7 @@ namespace CppSharp
{
get
{
Expression __result0;
CppSharp.Parser.AST.Expression __result0;
if (((Internal*) __Instance)->DefaultArgument == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.Expression.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->DefaultArgument))
__result0 = (CppSharp.Parser.AST.Expression) CppSharp.Parser.AST.Expression.NativeToManagedMap[((Internal*) __Instance)->DefaultArgument];
@ -5664,7 +5664,7 @@ namespace CppSharp @@ -5664,7 +5664,7 @@ namespace CppSharp
public CppSharp.Parser.AST.Parameter getParameters(uint i)
{
var __ret = Internal.getParameters_0(__Instance, i);
Parameter __result0;
CppSharp.Parser.AST.Parameter __result0;
if (__ret == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.Parameter.NativeToManagedMap.ContainsKey(__ret))
__result0 = (CppSharp.Parser.AST.Parameter) CppSharp.Parser.AST.Parameter.NativeToManagedMap[__ret];
@ -5845,7 +5845,7 @@ namespace CppSharp @@ -5845,7 +5845,7 @@ namespace CppSharp
{
get
{
FunctionTemplateSpecialization __result0;
CppSharp.Parser.AST.FunctionTemplateSpecialization __result0;
if (((Internal*) __Instance)->SpecializationInfo == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.FunctionTemplateSpecialization.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->SpecializationInfo))
__result0 = (CppSharp.Parser.AST.FunctionTemplateSpecialization) CppSharp.Parser.AST.FunctionTemplateSpecialization.NativeToManagedMap[((Internal*) __Instance)->SpecializationInfo];
@ -6056,7 +6056,7 @@ namespace CppSharp @@ -6056,7 +6056,7 @@ namespace CppSharp
{
get
{
AccessSpecifierDecl __result0;
CppSharp.Parser.AST.AccessSpecifierDecl __result0;
if (((Internal*) __Instance)->AccessDecl == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.AccessSpecifierDecl.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->AccessDecl))
__result0 = (CppSharp.Parser.AST.AccessSpecifierDecl) CppSharp.Parser.AST.AccessSpecifierDecl.NativeToManagedMap[((Internal*) __Instance)->AccessDecl];
@ -6593,7 +6593,7 @@ namespace CppSharp @@ -6593,7 +6593,7 @@ namespace CppSharp
{
get
{
Type __result0;
CppSharp.Parser.AST.Type __result0;
if (((Internal*) __Instance)->Type == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.Type.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->Type))
__result0 = (CppSharp.Parser.AST.Type) CppSharp.Parser.AST.Type.NativeToManagedMap[((Internal*) __Instance)->Type];
@ -6611,7 +6611,7 @@ namespace CppSharp @@ -6611,7 +6611,7 @@ namespace CppSharp
{
get
{
BuiltinType __result0;
CppSharp.Parser.AST.BuiltinType __result0;
if (((Internal*) __Instance)->BuiltinType == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.BuiltinType.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->BuiltinType))
__result0 = (CppSharp.Parser.AST.BuiltinType) CppSharp.Parser.AST.BuiltinType.NativeToManagedMap[((Internal*) __Instance)->BuiltinType];
@ -6926,7 +6926,7 @@ namespace CppSharp @@ -6926,7 +6926,7 @@ namespace CppSharp
{
get
{
Type __result0;
CppSharp.Parser.AST.Type __result0;
if (((Internal*) __Instance)->Type == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.Type.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->Type))
__result0 = (CppSharp.Parser.AST.Type) CppSharp.Parser.AST.Type.NativeToManagedMap[((Internal*) __Instance)->Type];
@ -7125,7 +7125,7 @@ namespace CppSharp @@ -7125,7 +7125,7 @@ namespace CppSharp
{
get
{
Class __result0;
CppSharp.Parser.AST.Class __result0;
if (((Internal*) __Instance)->Class == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.Class.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->Class))
__result0 = (CppSharp.Parser.AST.Class) CppSharp.Parser.AST.Class.NativeToManagedMap[((Internal*) __Instance)->Class];
@ -7535,7 +7535,7 @@ namespace CppSharp @@ -7535,7 +7535,7 @@ namespace CppSharp
public CppSharp.Parser.AST.BaseClassSpecifier getBases(uint i)
{
var __ret = Internal.getBases_0(__Instance, i);
BaseClassSpecifier __result0;
CppSharp.Parser.AST.BaseClassSpecifier __result0;
if (__ret == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.BaseClassSpecifier.NativeToManagedMap.ContainsKey(__ret))
__result0 = (CppSharp.Parser.AST.BaseClassSpecifier) CppSharp.Parser.AST.BaseClassSpecifier.NativeToManagedMap[__ret];
@ -7557,7 +7557,7 @@ namespace CppSharp @@ -7557,7 +7557,7 @@ namespace CppSharp
public CppSharp.Parser.AST.Field getFields(uint i)
{
var __ret = Internal.getFields_0(__Instance, i);
Field __result0;
CppSharp.Parser.AST.Field __result0;
if (__ret == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.Field.NativeToManagedMap.ContainsKey(__ret))
__result0 = (CppSharp.Parser.AST.Field) CppSharp.Parser.AST.Field.NativeToManagedMap[__ret];
@ -7579,7 +7579,7 @@ namespace CppSharp @@ -7579,7 +7579,7 @@ namespace CppSharp
public CppSharp.Parser.AST.Method getMethods(uint i)
{
var __ret = Internal.getMethods_0(__Instance, i);
Method __result0;
CppSharp.Parser.AST.Method __result0;
if (__ret == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.Method.NativeToManagedMap.ContainsKey(__ret))
__result0 = (CppSharp.Parser.AST.Method) CppSharp.Parser.AST.Method.NativeToManagedMap[__ret];
@ -7601,7 +7601,7 @@ namespace CppSharp @@ -7601,7 +7601,7 @@ namespace CppSharp
public CppSharp.Parser.AST.AccessSpecifierDecl getSpecifiers(uint i)
{
var __ret = Internal.getSpecifiers_0(__Instance, i);
AccessSpecifierDecl __result0;
CppSharp.Parser.AST.AccessSpecifierDecl __result0;
if (__ret == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.AccessSpecifierDecl.NativeToManagedMap.ContainsKey(__ret))
__result0 = (CppSharp.Parser.AST.AccessSpecifierDecl) CppSharp.Parser.AST.AccessSpecifierDecl.NativeToManagedMap[__ret];
@ -7777,7 +7777,7 @@ namespace CppSharp @@ -7777,7 +7777,7 @@ namespace CppSharp
{
get
{
ClassLayout __result0;
CppSharp.Parser.AST.ClassLayout __result0;
if (((Internal*) __Instance)->Layout == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.ClassLayout.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->Layout))
__result0 = (CppSharp.Parser.AST.ClassLayout) CppSharp.Parser.AST.ClassLayout.NativeToManagedMap[((Internal*) __Instance)->Layout];
@ -7987,7 +7987,7 @@ namespace CppSharp @@ -7987,7 +7987,7 @@ namespace CppSharp
{
get
{
Declaration __result0;
CppSharp.Parser.AST.Declaration __result0;
if (((Internal*) __Instance)->TemplatedDecl == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.Declaration.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->TemplatedDecl))
__result0 = (CppSharp.Parser.AST.Declaration) CppSharp.Parser.AST.Declaration.NativeToManagedMap[((Internal*) __Instance)->TemplatedDecl];
@ -8154,7 +8154,7 @@ namespace CppSharp @@ -8154,7 +8154,7 @@ namespace CppSharp
public CppSharp.Parser.AST.ClassTemplateSpecialization getSpecializations(uint i)
{
var __ret = Internal.getSpecializations_0(__Instance, i);
ClassTemplateSpecialization __result0;
CppSharp.Parser.AST.ClassTemplateSpecialization __result0;
if (__ret == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.ClassTemplateSpecialization.NativeToManagedMap.ContainsKey(__ret))
__result0 = (CppSharp.Parser.AST.ClassTemplateSpecialization) CppSharp.Parser.AST.ClassTemplateSpecialization.NativeToManagedMap[__ret];
@ -8399,7 +8399,7 @@ namespace CppSharp @@ -8399,7 +8399,7 @@ namespace CppSharp
{
get
{
ClassTemplate __result0;
CppSharp.Parser.AST.ClassTemplate __result0;
if (((Internal*) __Instance)->TemplatedDecl == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.ClassTemplate.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->TemplatedDecl))
__result0 = (CppSharp.Parser.AST.ClassTemplate) CppSharp.Parser.AST.ClassTemplate.NativeToManagedMap[((Internal*) __Instance)->TemplatedDecl];
@ -8745,7 +8745,7 @@ namespace CppSharp @@ -8745,7 +8745,7 @@ namespace CppSharp
public CppSharp.Parser.AST.FunctionTemplateSpecialization getSpecializations(uint i)
{
var __ret = Internal.getSpecializations_0(__Instance, i);
FunctionTemplateSpecialization __result0;
CppSharp.Parser.AST.FunctionTemplateSpecialization __result0;
if (__ret == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.FunctionTemplateSpecialization.NativeToManagedMap.ContainsKey(__ret))
__result0 = (CppSharp.Parser.AST.FunctionTemplateSpecialization) CppSharp.Parser.AST.FunctionTemplateSpecialization.NativeToManagedMap[__ret];
@ -8931,7 +8931,7 @@ namespace CppSharp @@ -8931,7 +8931,7 @@ namespace CppSharp
{
get
{
FunctionTemplate __result0;
CppSharp.Parser.AST.FunctionTemplate __result0;
if (((Internal*) __Instance)->Template == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.FunctionTemplate.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->Template))
__result0 = (CppSharp.Parser.AST.FunctionTemplate) CppSharp.Parser.AST.FunctionTemplate.NativeToManagedMap[((Internal*) __Instance)->Template];
@ -8949,7 +8949,7 @@ namespace CppSharp @@ -8949,7 +8949,7 @@ namespace CppSharp
{
get
{
Function __result0;
CppSharp.Parser.AST.Function __result0;
if (((Internal*) __Instance)->SpecializedFunction == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.Function.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->SpecializedFunction))
__result0 = (CppSharp.Parser.AST.Function) CppSharp.Parser.AST.Function.NativeToManagedMap[((Internal*) __Instance)->SpecializedFunction];
@ -9584,7 +9584,7 @@ namespace CppSharp @@ -9584,7 +9584,7 @@ namespace CppSharp
{
get
{
MacroDefinition __result0;
CppSharp.Parser.AST.MacroDefinition __result0;
if (((Internal*) __Instance)->Definition == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.MacroDefinition.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->Definition))
__result0 = (CppSharp.Parser.AST.MacroDefinition) CppSharp.Parser.AST.MacroDefinition.NativeToManagedMap[((Internal*) __Instance)->Definition];
@ -9767,7 +9767,7 @@ namespace CppSharp @@ -9767,7 +9767,7 @@ namespace CppSharp
public CppSharp.Parser.AST.MacroDefinition getMacros(uint i)
{
var __ret = Internal.getMacros_0(__Instance, i);
MacroDefinition __result0;
CppSharp.Parser.AST.MacroDefinition __result0;
if (__ret == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.MacroDefinition.NativeToManagedMap.ContainsKey(__ret))
__result0 = (CppSharp.Parser.AST.MacroDefinition) CppSharp.Parser.AST.MacroDefinition.NativeToManagedMap[__ret];
@ -10179,7 +10179,7 @@ namespace CppSharp @@ -10179,7 +10179,7 @@ namespace CppSharp
public CppSharp.Parser.AST.TranslationUnit getTranslationUnits(uint i)
{
var __ret = Internal.getTranslationUnits_0(__Instance, i);
TranslationUnit __result0;
CppSharp.Parser.AST.TranslationUnit __result0;
if (__ret == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.TranslationUnit.NativeToManagedMap.ContainsKey(__ret))
__result0 = (CppSharp.Parser.AST.TranslationUnit) CppSharp.Parser.AST.TranslationUnit.NativeToManagedMap[__ret];
@ -10575,7 +10575,7 @@ namespace CppSharp @@ -10575,7 +10575,7 @@ namespace CppSharp
{
get
{
FullComment __result0;
CppSharp.Parser.AST.FullComment __result0;
if (((Internal*) __Instance)->FullCommentBlock == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.FullComment.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->FullCommentBlock))
__result0 = (CppSharp.Parser.AST.FullComment) CppSharp.Parser.AST.FullComment.NativeToManagedMap[((Internal*) __Instance)->FullCommentBlock];

12
src/CppParser/Bindings/CSharp/x86_64-linux-gnu/CppParser.cs

@ -504,7 +504,7 @@ namespace CppSharp @@ -504,7 +504,7 @@ namespace CppSharp
{
get
{
ASTContext __result0;
CppSharp.Parser.AST.ASTContext __result0;
if (((Internal*) __Instance)->ASTContext == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.ASTContext.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->ASTContext))
__result0 = (CppSharp.Parser.AST.ASTContext) CppSharp.Parser.AST.ASTContext.NativeToManagedMap[((Internal*) __Instance)->ASTContext];
@ -981,7 +981,7 @@ namespace CppSharp @@ -981,7 +981,7 @@ namespace CppSharp
{
get
{
ASTContext __result0;
CppSharp.Parser.AST.ASTContext __result0;
if (((Internal*) __Instance)->ASTContext == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.ASTContext.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->ASTContext))
__result0 = (CppSharp.Parser.AST.ASTContext) CppSharp.Parser.AST.ASTContext.NativeToManagedMap[((Internal*) __Instance)->ASTContext];
@ -999,7 +999,7 @@ namespace CppSharp @@ -999,7 +999,7 @@ namespace CppSharp
{
get
{
NativeLibrary __result0;
CppSharp.Parser.AST.NativeLibrary __result0;
if (((Internal*) __Instance)->Library == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.AST.NativeLibrary.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->Library))
__result0 = (CppSharp.Parser.AST.NativeLibrary) CppSharp.Parser.AST.NativeLibrary.NativeToManagedMap[((Internal*) __Instance)->Library];
@ -1116,7 +1116,7 @@ namespace CppSharp @@ -1116,7 +1116,7 @@ namespace CppSharp
{
var arg0 = ReferenceEquals(Opts, null) ? global::System.IntPtr.Zero : Opts.__Instance;
var __ret = Internal.ParseHeader_0(arg0);
ParserResult __result0;
CppSharp.Parser.ParserResult __result0;
if (__ret == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.ParserResult.NativeToManagedMap.ContainsKey(__ret))
__result0 = (CppSharp.Parser.ParserResult) CppSharp.Parser.ParserResult.NativeToManagedMap[__ret];
@ -1128,7 +1128,7 @@ namespace CppSharp @@ -1128,7 +1128,7 @@ namespace CppSharp
{
var arg0 = ReferenceEquals(Opts, null) ? global::System.IntPtr.Zero : Opts.__Instance;
var __ret = Internal.ParseLibrary_0(arg0);
ParserResult __result0;
CppSharp.Parser.ParserResult __result0;
if (__ret == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.ParserResult.NativeToManagedMap.ContainsKey(__ret))
__result0 = (CppSharp.Parser.ParserResult) CppSharp.Parser.ParserResult.NativeToManagedMap[__ret];
@ -1140,7 +1140,7 @@ namespace CppSharp @@ -1140,7 +1140,7 @@ namespace CppSharp
{
var arg0 = ReferenceEquals(Opts, null) ? global::System.IntPtr.Zero : Opts.__Instance;
var __ret = Internal.GetTargetInfo_0(arg0);
ParserTargetInfo __result0;
CppSharp.Parser.ParserTargetInfo __result0;
if (__ret == IntPtr.Zero) __result0 = null;
else if (CppSharp.Parser.ParserTargetInfo.NativeToManagedMap.ContainsKey(__ret))
__result0 = (CppSharp.Parser.ParserTargetInfo) CppSharp.Parser.ParserTargetInfo.NativeToManagedMap[__ret];

Loading…
Cancel
Save