Browse Source

Regenerated the parser bindings (#844)

pull/846/head
Mohit Mohta 8 years ago committed by Dimitar Dobrev
parent
commit
db1522d7b2
  1. 625
      src/CppParser/Bindings/CSharp/i686-apple-darwin12.4.0/CppSharp.CppParser.cs
  2. 21
      src/CppParser/Bindings/CSharp/i686-apple-darwin12.4.0/Std.cs
  3. 775
      src/CppParser/Bindings/CSharp/i686-pc-win32-msvc/CppSharp.CppParser.cs
  4. 21
      src/CppParser/Bindings/CSharp/i686-pc-win32-msvc/Std.cs
  5. 625
      src/CppParser/Bindings/CSharp/x86_64-apple-darwin12.4.0/CppSharp.CppParser.cs
  6. 21
      src/CppParser/Bindings/CSharp/x86_64-apple-darwin12.4.0/Std.cs
  7. 625
      src/CppParser/Bindings/CSharp/x86_64-linux-gnu-cxx11abi/CppSharp.CppParser.cs
  8. 21
      src/CppParser/Bindings/CSharp/x86_64-linux-gnu-cxx11abi/Std.cs
  9. 625
      src/CppParser/Bindings/CSharp/x86_64-linux-gnu/CppSharp.CppParser.cs
  10. 21
      src/CppParser/Bindings/CSharp/x86_64-linux-gnu/Std.cs
  11. 775
      src/CppParser/Bindings/CSharp/x86_64-pc-win32-msvc/CppSharp.CppParser.cs
  12. 21
      src/CppParser/Bindings/CSharp/x86_64-pc-win32-msvc/Std.cs

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

File diff suppressed because it is too large Load Diff

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

@ -168,12 +168,12 @@ namespace Std @@ -168,12 +168,12 @@ namespace Std
internal static global::Std.__1.Allocator __CreateInstance(global::System.IntPtr native, bool skipVTables = false)
{
return new Allocator(native.ToPointer(), skipVTables);
return new global::Std.__1.Allocator(native.ToPointer(), skipVTables);
}
internal static global::Std.__1.Allocator __CreateInstance(global::Std.__1.Allocator.__Internal native, bool skipVTables = false)
{
return new Allocator(native, skipVTables);
return new global::Std.__1.Allocator(native, skipVTables);
}
private static void* __CopyValue(global::Std.__1.Allocator.__Internal native)
@ -212,10 +212,13 @@ namespace Std @@ -212,10 +212,13 @@ namespace Std
public virtual void Dispose(bool disposing)
{
if (__Instance == IntPtr.Zero)
return;
global::Std.__1.Allocator __dummy;
NativeToManagedMap.TryRemove(__Instance, out __dummy);
if (__ownsNativeInstance)
Marshal.FreeHGlobal(__Instance);
__Instance = IntPtr.Zero;
}
}
@ -1281,12 +1284,12 @@ namespace Std @@ -1281,12 +1284,12 @@ namespace Std
internal static global::Std.__1.CharTraits __CreateInstance(global::System.IntPtr native, bool skipVTables = false)
{
return new CharTraits(native.ToPointer(), skipVTables);
return new global::Std.__1.CharTraits(native.ToPointer(), skipVTables);
}
internal static global::Std.__1.CharTraits __CreateInstance(global::Std.__1.CharTraits.__Internal native, bool skipVTables = false)
{
return new CharTraits(native, skipVTables);
return new global::Std.__1.CharTraits(native, skipVTables);
}
private static void* __CopyValue(global::Std.__1.CharTraits.__Internal native)
@ -1324,10 +1327,13 @@ namespace Std @@ -1324,10 +1327,13 @@ namespace Std
public virtual void Dispose(bool disposing)
{
if (__Instance == IntPtr.Zero)
return;
global::Std.__1.CharTraits __dummy;
NativeToManagedMap.TryRemove(__Instance, out __dummy);
if (__ownsNativeInstance)
Marshal.FreeHGlobal(__Instance);
__Instance = IntPtr.Zero;
}
public static int Eof()
@ -1483,12 +1489,12 @@ namespace Std @@ -1483,12 +1489,12 @@ namespace Std
internal static global::Std.__1.BasicString __CreateInstance(global::System.IntPtr native, bool skipVTables = false)
{
return new BasicString(native.ToPointer(), skipVTables);
return new global::Std.__1.BasicString(native.ToPointer(), skipVTables);
}
internal static global::Std.__1.BasicString __CreateInstance(global::Std.__1.BasicString.__Internal native, bool skipVTables = false)
{
return new BasicString(native, skipVTables);
return new global::Std.__1.BasicString(native, skipVTables);
}
private static void* __CopyValue(global::Std.__1.BasicString.__Internal native)
@ -1519,12 +1525,15 @@ namespace Std @@ -1519,12 +1525,15 @@ namespace Std
public virtual void Dispose(bool disposing)
{
if (__Instance == IntPtr.Zero)
return;
global::Std.__1.BasicString __dummy;
NativeToManagedMap.TryRemove(__Instance, out __dummy);
if (disposing)
global::Std.__1.BasicString.__Internal.dtorc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C_0((__Instance + __PointerAdjustment));
if (__ownsNativeInstance)
Marshal.FreeHGlobal(__Instance);
__Instance = IntPtr.Zero;
}
public string CStr

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

File diff suppressed because it is too large Load Diff

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

@ -78,12 +78,12 @@ namespace Std @@ -78,12 +78,12 @@ namespace Std
internal static global::Std.CharTraits __CreateInstance(global::System.IntPtr native, bool skipVTables = false)
{
return new CharTraits(native.ToPointer(), skipVTables);
return new global::Std.CharTraits(native.ToPointer(), skipVTables);
}
internal static global::Std.CharTraits __CreateInstance(global::Std.CharTraits.__Internal native, bool skipVTables = false)
{
return new CharTraits(native, skipVTables);
return new global::Std.CharTraits(native, skipVTables);
}
private static void* __CopyValue(global::Std.CharTraits.__Internal native)
@ -121,10 +121,13 @@ namespace Std @@ -121,10 +121,13 @@ namespace Std
public virtual void Dispose(bool disposing)
{
if (__Instance == IntPtr.Zero)
return;
global::Std.CharTraits __dummy;
NativeToManagedMap.TryRemove(__Instance, out __dummy);
if (__ownsNativeInstance)
Marshal.FreeHGlobal(__Instance);
__Instance = IntPtr.Zero;
}
public static int Eof()
@ -492,12 +495,12 @@ namespace Std @@ -492,12 +495,12 @@ namespace Std
internal static global::Std.Allocator __CreateInstance(global::System.IntPtr native, bool skipVTables = false)
{
return new Allocator(native.ToPointer(), skipVTables);
return new global::Std.Allocator(native.ToPointer(), skipVTables);
}
internal static global::Std.Allocator __CreateInstance(global::Std.Allocator.__Internal native, bool skipVTables = false)
{
return new Allocator(native, skipVTables);
return new global::Std.Allocator(native, skipVTables);
}
private static void* __CopyValue(global::Std.Allocator.__Internal native)
@ -536,10 +539,13 @@ namespace Std @@ -536,10 +539,13 @@ namespace Std
public virtual void Dispose(bool disposing)
{
if (__Instance == IntPtr.Zero)
return;
global::Std.Allocator __dummy;
NativeToManagedMap.TryRemove(__Instance, out __dummy);
if (__ownsNativeInstance)
Marshal.FreeHGlobal(__Instance);
__Instance = IntPtr.Zero;
}
}
@ -588,12 +594,12 @@ namespace Std @@ -588,12 +594,12 @@ namespace Std
internal static global::Std.BasicString __CreateInstance(global::System.IntPtr native, bool skipVTables = false)
{
return new BasicString(native.ToPointer(), skipVTables);
return new global::Std.BasicString(native.ToPointer(), skipVTables);
}
internal static global::Std.BasicString __CreateInstance(global::Std.BasicString.__Internal native, bool skipVTables = false)
{
return new BasicString(native, skipVTables);
return new global::Std.BasicString(native, skipVTables);
}
private static void* __CopyValue(global::Std.BasicString.__Internal native)
@ -624,12 +630,15 @@ namespace Std @@ -624,12 +630,15 @@ namespace Std
public virtual void Dispose(bool disposing)
{
if (__Instance == IntPtr.Zero)
return;
global::Std.BasicString __dummy;
NativeToManagedMap.TryRemove(__Instance, out __dummy);
if (disposing)
global::Std.BasicString.__Internal.dtorc__N_std_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C_0((__Instance + __PointerAdjustment), 0);
if (__ownsNativeInstance)
Marshal.FreeHGlobal(__Instance);
__Instance = IntPtr.Zero;
}
public string CStr()

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

File diff suppressed because it is too large Load Diff

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

@ -168,12 +168,12 @@ namespace Std @@ -168,12 +168,12 @@ namespace Std
internal static global::Std.__1.Allocator __CreateInstance(global::System.IntPtr native, bool skipVTables = false)
{
return new Allocator(native.ToPointer(), skipVTables);
return new global::Std.__1.Allocator(native.ToPointer(), skipVTables);
}
internal static global::Std.__1.Allocator __CreateInstance(global::Std.__1.Allocator.__Internal native, bool skipVTables = false)
{
return new Allocator(native, skipVTables);
return new global::Std.__1.Allocator(native, skipVTables);
}
private static void* __CopyValue(global::Std.__1.Allocator.__Internal native)
@ -212,10 +212,13 @@ namespace Std @@ -212,10 +212,13 @@ namespace Std
public virtual void Dispose(bool disposing)
{
if (__Instance == IntPtr.Zero)
return;
global::Std.__1.Allocator __dummy;
NativeToManagedMap.TryRemove(__Instance, out __dummy);
if (__ownsNativeInstance)
Marshal.FreeHGlobal(__Instance);
__Instance = IntPtr.Zero;
}
}
@ -1281,12 +1284,12 @@ namespace Std @@ -1281,12 +1284,12 @@ namespace Std
internal static global::Std.__1.CharTraits __CreateInstance(global::System.IntPtr native, bool skipVTables = false)
{
return new CharTraits(native.ToPointer(), skipVTables);
return new global::Std.__1.CharTraits(native.ToPointer(), skipVTables);
}
internal static global::Std.__1.CharTraits __CreateInstance(global::Std.__1.CharTraits.__Internal native, bool skipVTables = false)
{
return new CharTraits(native, skipVTables);
return new global::Std.__1.CharTraits(native, skipVTables);
}
private static void* __CopyValue(global::Std.__1.CharTraits.__Internal native)
@ -1324,10 +1327,13 @@ namespace Std @@ -1324,10 +1327,13 @@ namespace Std
public virtual void Dispose(bool disposing)
{
if (__Instance == IntPtr.Zero)
return;
global::Std.__1.CharTraits __dummy;
NativeToManagedMap.TryRemove(__Instance, out __dummy);
if (__ownsNativeInstance)
Marshal.FreeHGlobal(__Instance);
__Instance = IntPtr.Zero;
}
public static int Eof()
@ -1483,12 +1489,12 @@ namespace Std @@ -1483,12 +1489,12 @@ namespace Std
internal static global::Std.__1.BasicString __CreateInstance(global::System.IntPtr native, bool skipVTables = false)
{
return new BasicString(native.ToPointer(), skipVTables);
return new global::Std.__1.BasicString(native.ToPointer(), skipVTables);
}
internal static global::Std.__1.BasicString __CreateInstance(global::Std.__1.BasicString.__Internal native, bool skipVTables = false)
{
return new BasicString(native, skipVTables);
return new global::Std.__1.BasicString(native, skipVTables);
}
private static void* __CopyValue(global::Std.__1.BasicString.__Internal native)
@ -1519,12 +1525,15 @@ namespace Std @@ -1519,12 +1525,15 @@ namespace Std
public virtual void Dispose(bool disposing)
{
if (__Instance == IntPtr.Zero)
return;
global::Std.__1.BasicString __dummy;
NativeToManagedMap.TryRemove(__Instance, out __dummy);
if (disposing)
global::Std.__1.BasicString.__Internal.dtorc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C_0((__Instance + __PointerAdjustment));
if (__ownsNativeInstance)
Marshal.FreeHGlobal(__Instance);
__Instance = IntPtr.Zero;
}
public string CStr

625
src/CppParser/Bindings/CSharp/x86_64-linux-gnu-cxx11abi/CppSharp.CppParser.cs

File diff suppressed because it is too large Load Diff

21
src/CppParser/Bindings/CSharp/x86_64-linux-gnu-cxx11abi/Std.cs

@ -65,12 +65,12 @@ namespace Std @@ -65,12 +65,12 @@ namespace Std
internal static global::Std.Allocator __CreateInstance(global::System.IntPtr native, bool skipVTables = false)
{
return new Allocator(native.ToPointer(), skipVTables);
return new global::Std.Allocator(native.ToPointer(), skipVTables);
}
internal static global::Std.Allocator __CreateInstance(global::Std.Allocator.__Internal native, bool skipVTables = false)
{
return new Allocator(native, skipVTables);
return new global::Std.Allocator(native, skipVTables);
}
private static void* __CopyValue(global::Std.Allocator.__Internal native)
@ -109,12 +109,15 @@ namespace Std @@ -109,12 +109,15 @@ namespace Std
public virtual void Dispose(bool disposing)
{
if (__Instance == IntPtr.Zero)
return;
global::Std.Allocator __dummy;
NativeToManagedMap.TryRemove(__Instance, out __dummy);
if (disposing)
global::Std.Allocator.__Internal.dtorc__N_std_S_allocator__C_0((__Instance + __PointerAdjustment));
if (__ownsNativeInstance)
Marshal.FreeHGlobal(__Instance);
__Instance = IntPtr.Zero;
}
}
@ -355,12 +358,12 @@ namespace Std @@ -355,12 +358,12 @@ namespace Std
internal static global::Std.CharTraits __CreateInstance(global::System.IntPtr native, bool skipVTables = false)
{
return new CharTraits(native.ToPointer(), skipVTables);
return new global::Std.CharTraits(native.ToPointer(), skipVTables);
}
internal static global::Std.CharTraits __CreateInstance(global::Std.CharTraits.__Internal native, bool skipVTables = false)
{
return new CharTraits(native, skipVTables);
return new global::Std.CharTraits(native, skipVTables);
}
private static void* __CopyValue(global::Std.CharTraits.__Internal native)
@ -398,10 +401,13 @@ namespace Std @@ -398,10 +401,13 @@ namespace Std
public virtual void Dispose(bool disposing)
{
if (__Instance == IntPtr.Zero)
return;
global::Std.CharTraits __dummy;
NativeToManagedMap.TryRemove(__Instance, out __dummy);
if (__ownsNativeInstance)
Marshal.FreeHGlobal(__Instance);
__Instance = IntPtr.Zero;
}
public static int Eof()
@ -705,12 +711,12 @@ namespace Std @@ -705,12 +711,12 @@ namespace Std
internal static global::Std.Cxx11.BasicString __CreateInstance(global::System.IntPtr native, bool skipVTables = false)
{
return new BasicString(native.ToPointer(), skipVTables);
return new global::Std.Cxx11.BasicString(native.ToPointer(), skipVTables);
}
internal static global::Std.Cxx11.BasicString __CreateInstance(global::Std.Cxx11.BasicString.__Internal native, bool skipVTables = false)
{
return new BasicString(native, skipVTables);
return new global::Std.Cxx11.BasicString(native, skipVTables);
}
private static void* __CopyValue(global::Std.Cxx11.BasicString.__Internal native)
@ -741,12 +747,15 @@ namespace Std @@ -741,12 +747,15 @@ namespace Std
public virtual void Dispose(bool disposing)
{
if (__Instance == IntPtr.Zero)
return;
global::Std.Cxx11.BasicString __dummy;
NativeToManagedMap.TryRemove(__Instance, out __dummy);
if (disposing)
global::Std.Cxx11.BasicString.__Internal.dtorc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C_0((__Instance + __PointerAdjustment));
if (__ownsNativeInstance)
Marshal.FreeHGlobal(__Instance);
__Instance = IntPtr.Zero;
}
public string CStr

625
src/CppParser/Bindings/CSharp/x86_64-linux-gnu/CppSharp.CppParser.cs

File diff suppressed because it is too large Load Diff

21
src/CppParser/Bindings/CSharp/x86_64-linux-gnu/Std.cs

@ -65,12 +65,12 @@ namespace Std @@ -65,12 +65,12 @@ namespace Std
internal static global::Std.Allocator __CreateInstance(global::System.IntPtr native, bool skipVTables = false)
{
return new Allocator(native.ToPointer(), skipVTables);
return new global::Std.Allocator(native.ToPointer(), skipVTables);
}
internal static global::Std.Allocator __CreateInstance(global::Std.Allocator.__Internal native, bool skipVTables = false)
{
return new Allocator(native, skipVTables);
return new global::Std.Allocator(native, skipVTables);
}
private static void* __CopyValue(global::Std.Allocator.__Internal native)
@ -109,12 +109,15 @@ namespace Std @@ -109,12 +109,15 @@ namespace Std
public virtual void Dispose(bool disposing)
{
if (__Instance == IntPtr.Zero)
return;
global::Std.Allocator __dummy;
NativeToManagedMap.TryRemove(__Instance, out __dummy);
if (disposing)
global::Std.Allocator.__Internal.dtorc__N_std_S_allocator__C_0((__Instance + __PointerAdjustment));
if (__ownsNativeInstance)
Marshal.FreeHGlobal(__Instance);
__Instance = IntPtr.Zero;
}
}
@ -348,12 +351,12 @@ namespace Std @@ -348,12 +351,12 @@ namespace Std
internal static global::Std.CharTraits __CreateInstance(global::System.IntPtr native, bool skipVTables = false)
{
return new CharTraits(native.ToPointer(), skipVTables);
return new global::Std.CharTraits(native.ToPointer(), skipVTables);
}
internal static global::Std.CharTraits __CreateInstance(global::Std.CharTraits.__Internal native, bool skipVTables = false)
{
return new CharTraits(native, skipVTables);
return new global::Std.CharTraits(native, skipVTables);
}
private static void* __CopyValue(global::Std.CharTraits.__Internal native)
@ -391,10 +394,13 @@ namespace Std @@ -391,10 +394,13 @@ namespace Std
public virtual void Dispose(bool disposing)
{
if (__Instance == IntPtr.Zero)
return;
global::Std.CharTraits __dummy;
NativeToManagedMap.TryRemove(__Instance, out __dummy);
if (__ownsNativeInstance)
Marshal.FreeHGlobal(__Instance);
__Instance = IntPtr.Zero;
}
public static int Eof()
@ -696,12 +702,12 @@ namespace Std @@ -696,12 +702,12 @@ namespace Std
internal static global::Std.BasicString __CreateInstance(global::System.IntPtr native, bool skipVTables = false)
{
return new BasicString(native.ToPointer(), skipVTables);
return new global::Std.BasicString(native.ToPointer(), skipVTables);
}
internal static global::Std.BasicString __CreateInstance(global::Std.BasicString.__Internal native, bool skipVTables = false)
{
return new BasicString(native, skipVTables);
return new global::Std.BasicString(native, skipVTables);
}
private static void* __CopyValue(global::Std.BasicString.__Internal native)
@ -732,12 +738,15 @@ namespace Std @@ -732,12 +738,15 @@ namespace Std
public virtual void Dispose(bool disposing)
{
if (__Instance == IntPtr.Zero)
return;
global::Std.BasicString __dummy;
NativeToManagedMap.TryRemove(__Instance, out __dummy);
if (disposing)
global::Std.BasicString.__Internal.dtorc__N_std_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C_0((__Instance + __PointerAdjustment));
if (__ownsNativeInstance)
Marshal.FreeHGlobal(__Instance);
__Instance = IntPtr.Zero;
}
public string CStr

775
src/CppParser/Bindings/CSharp/x86_64-pc-win32-msvc/CppSharp.CppParser.cs

File diff suppressed because it is too large Load Diff

21
src/CppParser/Bindings/CSharp/x86_64-pc-win32-msvc/Std.cs

@ -78,12 +78,12 @@ namespace Std @@ -78,12 +78,12 @@ namespace Std
internal static global::Std.CharTraits __CreateInstance(global::System.IntPtr native, bool skipVTables = false)
{
return new CharTraits(native.ToPointer(), skipVTables);
return new global::Std.CharTraits(native.ToPointer(), skipVTables);
}
internal static global::Std.CharTraits __CreateInstance(global::Std.CharTraits.__Internal native, bool skipVTables = false)
{
return new CharTraits(native, skipVTables);
return new global::Std.CharTraits(native, skipVTables);
}
private static void* __CopyValue(global::Std.CharTraits.__Internal native)
@ -121,10 +121,13 @@ namespace Std @@ -121,10 +121,13 @@ namespace Std
public virtual void Dispose(bool disposing)
{
if (__Instance == IntPtr.Zero)
return;
global::Std.CharTraits __dummy;
NativeToManagedMap.TryRemove(__Instance, out __dummy);
if (__ownsNativeInstance)
Marshal.FreeHGlobal(__Instance);
__Instance = IntPtr.Zero;
}
public static int Eof()
@ -492,12 +495,12 @@ namespace Std @@ -492,12 +495,12 @@ namespace Std
internal static global::Std.Allocator __CreateInstance(global::System.IntPtr native, bool skipVTables = false)
{
return new Allocator(native.ToPointer(), skipVTables);
return new global::Std.Allocator(native.ToPointer(), skipVTables);
}
internal static global::Std.Allocator __CreateInstance(global::Std.Allocator.__Internal native, bool skipVTables = false)
{
return new Allocator(native, skipVTables);
return new global::Std.Allocator(native, skipVTables);
}
private static void* __CopyValue(global::Std.Allocator.__Internal native)
@ -536,10 +539,13 @@ namespace Std @@ -536,10 +539,13 @@ namespace Std
public virtual void Dispose(bool disposing)
{
if (__Instance == IntPtr.Zero)
return;
global::Std.Allocator __dummy;
NativeToManagedMap.TryRemove(__Instance, out __dummy);
if (__ownsNativeInstance)
Marshal.FreeHGlobal(__Instance);
__Instance = IntPtr.Zero;
}
}
@ -598,12 +604,12 @@ namespace Std @@ -598,12 +604,12 @@ namespace Std
internal static global::Std.BasicString __CreateInstance(global::System.IntPtr native, bool skipVTables = false)
{
return new BasicString(native.ToPointer(), skipVTables);
return new global::Std.BasicString(native.ToPointer(), skipVTables);
}
internal static global::Std.BasicString __CreateInstance(global::Std.BasicString.__Internal native, bool skipVTables = false)
{
return new BasicString(native, skipVTables);
return new global::Std.BasicString(native, skipVTables);
}
private static void* __CopyValue(global::Std.BasicString.__Internal native)
@ -634,12 +640,15 @@ namespace Std @@ -634,12 +640,15 @@ namespace Std
public virtual void Dispose(bool disposing)
{
if (__Instance == IntPtr.Zero)
return;
global::Std.BasicString __dummy;
NativeToManagedMap.TryRemove(__Instance, out __dummy);
if (disposing)
global::Std.BasicString.__Internal.dtorc__N_std_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C_0((__Instance + __PointerAdjustment), 0);
if (__ownsNativeInstance)
Marshal.FreeHGlobal(__Instance);
__Instance = IntPtr.Zero;
}
public string CStr()

Loading…
Cancel
Save