|
|
|
@ -137,7 +137,9 @@ namespace CppSharp
@@ -137,7 +137,9 @@ namespace CppSharp
|
|
|
|
|
BinaryOperator = 1, |
|
|
|
|
DeclRefExprClass = 2, |
|
|
|
|
CXXConstructExprClass = 3, |
|
|
|
|
CXXOperatorCallExpr = 4 |
|
|
|
|
CXXOperatorCallExpr = 4, |
|
|
|
|
ImplicitCastExpr = 5, |
|
|
|
|
ExplicitCastExpr = 6 |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public enum TemplateSpecializationKind |
|
|
|
@ -4170,7 +4172,7 @@ namespace CppSharp
@@ -4170,7 +4172,7 @@ namespace CppSharp
|
|
|
|
|
|
|
|
|
|
public unsafe partial class Expression : CppSharp.Parser.AST.Statement, IDisposable |
|
|
|
|
{ |
|
|
|
|
[StructLayout(LayoutKind.Explicit, Size = 20)] |
|
|
|
|
[StructLayout(LayoutKind.Explicit, Size = 24)] |
|
|
|
|
public new partial struct Internal |
|
|
|
|
{ |
|
|
|
|
[FieldOffset(0)] |
|
|
|
@ -4179,6 +4181,9 @@ namespace CppSharp
@@ -4179,6 +4181,9 @@ namespace CppSharp
|
|
|
|
|
[FieldOffset(4)] |
|
|
|
|
public global::System.IntPtr Decl; |
|
|
|
|
|
|
|
|
|
[FieldOffset(20)] |
|
|
|
|
public global::System.IntPtr Subexpression; |
|
|
|
|
|
|
|
|
|
[SuppressUnmanagedCodeSecurity] |
|
|
|
|
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.Cdecl, |
|
|
|
|
EntryPoint="_ZN8CppSharp9CppParser3AST10ExpressionC2ERKS2_")] |
|
|
|
@ -4204,7 +4209,7 @@ namespace CppSharp
@@ -4204,7 +4209,7 @@ namespace CppSharp
|
|
|
|
|
|
|
|
|
|
private static Expression.Internal* __CopyValue(Expression.Internal native) |
|
|
|
|
{ |
|
|
|
|
var ret = Marshal.AllocHGlobal(20); |
|
|
|
|
var ret = Marshal.AllocHGlobal(24); |
|
|
|
|
CppSharp.Parser.AST.Expression.Internal.cctor_1(ret, new global::System.IntPtr(&native)); |
|
|
|
|
return (Expression.Internal*) ret; |
|
|
|
|
} |
|
|
|
@ -4228,6 +4233,21 @@ namespace CppSharp
@@ -4228,6 +4233,21 @@ namespace CppSharp
|
|
|
|
|
} |
|
|
|
|
base.Dispose(disposing); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public CppSharp.Parser.AST.Expression Subexpression |
|
|
|
|
{ |
|
|
|
|
get |
|
|
|
|
{ |
|
|
|
|
var __ptr = (Internal*)__Instance.ToPointer(); |
|
|
|
|
return (__ptr->Subexpression == IntPtr.Zero) ? null : CppSharp.Parser.AST.Expression.__CreateInstance(__ptr->Subexpression); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
set |
|
|
|
|
{ |
|
|
|
|
var __ptr = (Internal*)__Instance.ToPointer(); |
|
|
|
|
__ptr->Subexpression = value == (CppSharp.Parser.AST.Expression) null ? global::System.IntPtr.Zero : value.__Instance; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public unsafe partial class Parameter : CppSharp.Parser.AST.Declaration, IDisposable |
|
|
|
|