Browse Source

CI: Re-generated the parser bindings

pull/574/head
CppSharp CI 10 years ago
parent
commit
9c24b3f84e
  1. 1675
      src/CppParser/Bindings/CSharp/i686-pc-win32-msvc/AST.cs
  2. 78
      src/CppParser/Bindings/CSharp/i686-pc-win32-msvc/CppParser.cs
  3. 12
      src/CppParser/Bindings/CSharp/i686-pc-win32-msvc/Sources.cs
  4. 20
      src/CppParser/Bindings/CSharp/i686-pc-win32-msvc/Target.cs

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

File diff suppressed because it is too large Load Diff

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

@ -239,14 +239,14 @@ namespace CppSharp @@ -239,14 +239,14 @@ namespace CppSharp
protected bool __ownsNativeInstance;
public static ParserOptions __CreateInstance(global::System.IntPtr native, bool ownsNativeInstance = false)
public static ParserOptions __CreateInstance(global::System.IntPtr native, bool ownsNativeInstance = false, bool skipVTables = false)
{
return new ParserOptions((ParserOptions.Internal*) native) { __ownsNativeInstance = ownsNativeInstance };
return new ParserOptions((ParserOptions.Internal*) native, skipVTables) { __ownsNativeInstance = ownsNativeInstance };
}
public static ParserOptions __CreateInstance(ParserOptions.Internal native)
public static ParserOptions __CreateInstance(ParserOptions.Internal native, bool skipVTables = false)
{
return new ParserOptions(native);
return new ParserOptions(native, skipVTables);
}
private static ParserOptions.Internal* __CopyValue(ParserOptions.Internal native)
@ -256,15 +256,17 @@ namespace CppSharp @@ -256,15 +256,17 @@ namespace CppSharp
return (ParserOptions.Internal*) ret;
}
private ParserOptions(ParserOptions.Internal native)
: this(__CopyValue(native))
private ParserOptions(ParserOptions.Internal native, bool skipVTables = false)
: this(__CopyValue(native), skipVTables)
{
__ownsNativeInstance = true;
NativeToManagedMap[__Instance] = this;
}
protected ParserOptions(ParserOptions.Internal* native, bool isInternalImpl = false)
protected ParserOptions(ParserOptions.Internal* native, bool skipVTables = false)
{
if (native == null)
return;
__Instance = new global::System.IntPtr(native);
}
@ -272,17 +274,17 @@ namespace CppSharp @@ -272,17 +274,17 @@ namespace CppSharp
{
__Instance = Marshal.AllocHGlobal(144);
__ownsNativeInstance = true;
Internal.ctor_0(__Instance);
NativeToManagedMap[__Instance] = this;
Internal.ctor_0(__Instance);
}
public ParserOptions(CppSharp.Parser.ParserOptions _0)
{
__Instance = Marshal.AllocHGlobal(144);
__ownsNativeInstance = true;
NativeToManagedMap[__Instance] = this;
var arg0 = ReferenceEquals(_0, null) ? global::System.IntPtr.Zero : _0.__Instance;
Internal.cctor_2(__Instance, arg0);
NativeToManagedMap[__Instance] = this;
}
public void Dispose()
@ -678,14 +680,14 @@ namespace CppSharp @@ -678,14 +680,14 @@ namespace CppSharp
protected bool __ownsNativeInstance;
public static ParserDiagnostic __CreateInstance(global::System.IntPtr native, bool ownsNativeInstance = false)
public static ParserDiagnostic __CreateInstance(global::System.IntPtr native, bool ownsNativeInstance = false, bool skipVTables = false)
{
return new ParserDiagnostic((ParserDiagnostic.Internal*) native) { __ownsNativeInstance = ownsNativeInstance };
return new ParserDiagnostic((ParserDiagnostic.Internal*) native, skipVTables) { __ownsNativeInstance = ownsNativeInstance };
}
public static ParserDiagnostic __CreateInstance(ParserDiagnostic.Internal native)
public static ParserDiagnostic __CreateInstance(ParserDiagnostic.Internal native, bool skipVTables = false)
{
return new ParserDiagnostic(native);
return new ParserDiagnostic(native, skipVTables);
}
private static ParserDiagnostic.Internal* __CopyValue(ParserDiagnostic.Internal native)
@ -695,15 +697,17 @@ namespace CppSharp @@ -695,15 +697,17 @@ namespace CppSharp
return (ParserDiagnostic.Internal*) ret;
}
private ParserDiagnostic(ParserDiagnostic.Internal native)
: this(__CopyValue(native))
private ParserDiagnostic(ParserDiagnostic.Internal native, bool skipVTables = false)
: this(__CopyValue(native), skipVTables)
{
__ownsNativeInstance = true;
NativeToManagedMap[__Instance] = this;
}
protected ParserDiagnostic(ParserDiagnostic.Internal* native, bool isInternalImpl = false)
protected ParserDiagnostic(ParserDiagnostic.Internal* native, bool skipVTables = false)
{
if (native == null)
return;
__Instance = new global::System.IntPtr(native);
}
@ -711,17 +715,17 @@ namespace CppSharp @@ -711,17 +715,17 @@ namespace CppSharp
{
__Instance = Marshal.AllocHGlobal(60);
__ownsNativeInstance = true;
Internal.ctor_0(__Instance);
NativeToManagedMap[__Instance] = this;
Internal.ctor_0(__Instance);
}
public ParserDiagnostic(CppSharp.Parser.ParserDiagnostic _0)
{
__Instance = Marshal.AllocHGlobal(60);
__ownsNativeInstance = true;
NativeToManagedMap[__Instance] = this;
var arg0 = ReferenceEquals(_0, null) ? global::System.IntPtr.Zero : _0.__Instance;
Internal.cctor_1(__Instance, arg0);
NativeToManagedMap[__Instance] = this;
}
public void Dispose()
@ -870,14 +874,14 @@ namespace CppSharp @@ -870,14 +874,14 @@ namespace CppSharp
protected bool __ownsNativeInstance;
public static ParserResult __CreateInstance(global::System.IntPtr native, bool ownsNativeInstance = false)
public static ParserResult __CreateInstance(global::System.IntPtr native, bool ownsNativeInstance = false, bool skipVTables = false)
{
return new ParserResult((ParserResult.Internal*) native) { __ownsNativeInstance = ownsNativeInstance };
return new ParserResult((ParserResult.Internal*) native, skipVTables) { __ownsNativeInstance = ownsNativeInstance };
}
public static ParserResult __CreateInstance(ParserResult.Internal native)
public static ParserResult __CreateInstance(ParserResult.Internal native, bool skipVTables = false)
{
return new ParserResult(native);
return new ParserResult(native, skipVTables);
}
private static ParserResult.Internal* __CopyValue(ParserResult.Internal native)
@ -887,15 +891,17 @@ namespace CppSharp @@ -887,15 +891,17 @@ namespace CppSharp
return (ParserResult.Internal*) ret;
}
private ParserResult(ParserResult.Internal native)
: this(__CopyValue(native))
private ParserResult(ParserResult.Internal native, bool skipVTables = false)
: this(__CopyValue(native), skipVTables)
{
__ownsNativeInstance = true;
NativeToManagedMap[__Instance] = this;
}
protected ParserResult(ParserResult.Internal* native, bool isInternalImpl = false)
protected ParserResult(ParserResult.Internal* native, bool skipVTables = false)
{
if (native == null)
return;
__Instance = new global::System.IntPtr(native);
}
@ -903,17 +909,17 @@ namespace CppSharp @@ -903,17 +909,17 @@ namespace CppSharp
{
__Instance = Marshal.AllocHGlobal(28);
__ownsNativeInstance = true;
Internal.ctor_0(__Instance);
NativeToManagedMap[__Instance] = this;
Internal.ctor_0(__Instance);
}
public ParserResult(CppSharp.Parser.ParserResult _0)
{
__Instance = Marshal.AllocHGlobal(28);
__ownsNativeInstance = true;
NativeToManagedMap[__Instance] = this;
var arg0 = ReferenceEquals(_0, null) ? global::System.IntPtr.Zero : _0.__Instance;
Internal.cctor_1(__Instance, arg0);
NativeToManagedMap[__Instance] = this;
}
public void Dispose()
@ -1040,14 +1046,14 @@ namespace CppSharp @@ -1040,14 +1046,14 @@ namespace CppSharp
protected bool __ownsNativeInstance;
public static ClangParser __CreateInstance(global::System.IntPtr native, bool ownsNativeInstance = false)
public static ClangParser __CreateInstance(global::System.IntPtr native, bool ownsNativeInstance = false, bool skipVTables = false)
{
return new ClangParser((ClangParser.Internal*) native) { __ownsNativeInstance = ownsNativeInstance };
return new ClangParser((ClangParser.Internal*) native, skipVTables) { __ownsNativeInstance = ownsNativeInstance };
}
public static ClangParser __CreateInstance(ClangParser.Internal native)
public static ClangParser __CreateInstance(ClangParser.Internal native, bool skipVTables = false)
{
return new ClangParser(native);
return new ClangParser(native, skipVTables);
}
private static ClangParser.Internal* __CopyValue(ClangParser.Internal native)
@ -1057,15 +1063,17 @@ namespace CppSharp @@ -1057,15 +1063,17 @@ namespace CppSharp
return ret;
}
private ClangParser(ClangParser.Internal native)
: this(__CopyValue(native))
private ClangParser(ClangParser.Internal native, bool skipVTables = false)
: this(__CopyValue(native), skipVTables)
{
__ownsNativeInstance = true;
NativeToManagedMap[__Instance] = this;
}
protected ClangParser(ClangParser.Internal* native, bool isInternalImpl = false)
protected ClangParser(ClangParser.Internal* native, bool skipVTables = false)
{
if (native == null)
return;
__Instance = new global::System.IntPtr(native);
}
@ -1080,8 +1088,8 @@ namespace CppSharp @@ -1080,8 +1088,8 @@ namespace CppSharp
{
__Instance = Marshal.AllocHGlobal(0);
__ownsNativeInstance = true;
*((ClangParser.Internal*) __Instance) = *((ClangParser.Internal*) _0.__Instance);
NativeToManagedMap[__Instance] = this;
*((ClangParser.Internal*) __Instance) = *((ClangParser.Internal*) _0.__Instance);
}
public void Dispose()

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

@ -37,23 +37,23 @@ namespace CppSharp @@ -37,23 +37,23 @@ namespace CppSharp
private SourceLocation.Internal __instance;
public SourceLocation.Internal __Instance { get { return __instance; } }
public static SourceLocation __CreateInstance(global::System.IntPtr native)
public static SourceLocation __CreateInstance(global::System.IntPtr native, bool skipVTables = false)
{
return new SourceLocation((SourceLocation.Internal*) native);
return new SourceLocation((SourceLocation.Internal*) native, skipVTables);
}
public static SourceLocation __CreateInstance(SourceLocation.Internal native)
public static SourceLocation __CreateInstance(SourceLocation.Internal native, bool skipVTables = false)
{
return new SourceLocation(native);
return new SourceLocation(native, skipVTables);
}
private SourceLocation(SourceLocation.Internal native)
private SourceLocation(SourceLocation.Internal native, bool skipVTables = false)
: this()
{
__instance = native;
}
private SourceLocation(SourceLocation.Internal* native, bool isInternalImpl = false) : this()
private SourceLocation(SourceLocation.Internal* native, bool skipVTables = false) : this()
{
__instance = *native;
}

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

@ -176,14 +176,14 @@ namespace CppSharp @@ -176,14 +176,14 @@ namespace CppSharp
protected bool __ownsNativeInstance;
public static ParserTargetInfo __CreateInstance(global::System.IntPtr native, bool ownsNativeInstance = false)
public static ParserTargetInfo __CreateInstance(global::System.IntPtr native, bool ownsNativeInstance = false, bool skipVTables = false)
{
return new ParserTargetInfo((ParserTargetInfo.Internal*) native) { __ownsNativeInstance = ownsNativeInstance };
return new ParserTargetInfo((ParserTargetInfo.Internal*) native, skipVTables) { __ownsNativeInstance = ownsNativeInstance };
}
public static ParserTargetInfo __CreateInstance(ParserTargetInfo.Internal native)
public static ParserTargetInfo __CreateInstance(ParserTargetInfo.Internal native, bool skipVTables = false)
{
return new ParserTargetInfo(native);
return new ParserTargetInfo(native, skipVTables);
}
private static ParserTargetInfo.Internal* __CopyValue(ParserTargetInfo.Internal native)
@ -193,15 +193,17 @@ namespace CppSharp @@ -193,15 +193,17 @@ namespace CppSharp
return (ParserTargetInfo.Internal*) ret;
}
private ParserTargetInfo(ParserTargetInfo.Internal native)
: this(__CopyValue(native))
private ParserTargetInfo(ParserTargetInfo.Internal native, bool skipVTables = false)
: this(__CopyValue(native), skipVTables)
{
__ownsNativeInstance = true;
NativeToManagedMap[__Instance] = this;
}
protected ParserTargetInfo(ParserTargetInfo.Internal* native, bool isInternalImpl = false)
protected ParserTargetInfo(ParserTargetInfo.Internal* native, bool skipVTables = false)
{
if (native == null)
return;
__Instance = new global::System.IntPtr(native);
}
@ -209,17 +211,17 @@ namespace CppSharp @@ -209,17 +211,17 @@ namespace CppSharp
{
__Instance = Marshal.AllocHGlobal(176);
__ownsNativeInstance = true;
Internal.ctor_0(__Instance);
NativeToManagedMap[__Instance] = this;
Internal.ctor_0(__Instance);
}
public ParserTargetInfo(CppSharp.Parser.ParserTargetInfo _0)
{
__Instance = Marshal.AllocHGlobal(176);
__ownsNativeInstance = true;
NativeToManagedMap[__Instance] = this;
var arg0 = ReferenceEquals(_0, null) ? global::System.IntPtr.Zero : _0.__Instance;
Internal.cctor_2(__Instance, arg0);
NativeToManagedMap[__Instance] = this;
}
public void Dispose()

Loading…
Cancel
Save