Browse Source

Temp fix for build errors in bindings

pull/1904/head
duckdoom5 4 months ago
parent
commit
de6fec4908
  1. 33
      src/CppParser/Bindings/CSharp/i686-apple-darwin12.4.0/CppSharp.CppParser.cs
  2. 9
      src/CppParser/Bindings/CSharp/i686-pc-win32-msvc-d/CppSharp.CppParser.cs
  3. 9
      src/CppParser/Bindings/CSharp/i686-pc-win32-msvc/CppSharp.CppParser.cs
  4. 33
      src/CppParser/Bindings/CSharp/x86_64-apple-darwin12.4.0/CppSharp.CppParser.cs
  5. 33
      src/CppParser/Bindings/CSharp/x86_64-linux-gnu-cxx11abi/CppSharp.CppParser.cs
  6. 33
      src/CppParser/Bindings/CSharp/x86_64-linux-gnu/CppSharp.CppParser.cs
  7. 9
      src/CppParser/Bindings/CSharp/x86_64-pc-win32-msvc-d/CppSharp.CppParser.cs
  8. 9
      src/CppParser/Bindings/CSharp/x86_64-pc-win32-msvc/CppSharp.CppParser.cs

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

@ -40250,18 +40250,19 @@ namespace CppSharp @@ -40250,18 +40250,19 @@ namespace CppSharp
}
}
public global::Std.Optional<uint> NumExpansions
public System.Nullable<uint> NumExpansions
{
get
{
return global::Std.Optional<uint>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->numExpansions));
var __optionalRet0 = global::Std.Optional<uint>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->numExpansions));
if (!__optionalRet0.HasValue)
return null;
return global::Std.OptionalExtensions.Value(__optionalRet0);
}
set
{
if (ReferenceEquals(value, null))
throw new global::System.ArgumentNullException("value", "Cannot be null because it is passed by value.");
((__Internal*)__Instance)->numExpansions = *(global::Std.Optional.__Internal*) value.__Instance;
throw new System.NotImplementedException("Setting std::optional is currently not supported");
}
}
}
@ -40600,18 +40601,19 @@ namespace CppSharp @@ -40600,18 +40601,19 @@ namespace CppSharp
}
}
public global::Std.Optional<uint> PackIndex
public System.Nullable<uint> PackIndex
{
get
{
return global::Std.Optional<uint>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->packIndex));
var __optionalRet0 = global::Std.Optional<uint>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->packIndex));
if (!__optionalRet0.HasValue)
return null;
return global::Std.OptionalExtensions.Value(__optionalRet0);
}
set
{
if (ReferenceEquals(value, null))
throw new global::System.ArgumentNullException("value", "Cannot be null because it is passed by value.");
((__Internal*)__Instance)->packIndex = *(global::Std.Optional.__Internal*) value.__Instance;
throw new System.NotImplementedException("Setting std::optional is currently not supported");
}
}
@ -41306,18 +41308,19 @@ namespace CppSharp @@ -41306,18 +41308,19 @@ namespace CppSharp
}
}
public global::Std.Optional<uint> NumExpansions
public System.Nullable<uint> NumExpansions
{
get
{
return global::Std.Optional<uint>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->numExpansions));
var __optionalRet0 = global::Std.Optional<uint>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->numExpansions));
if (!__optionalRet0.HasValue)
return null;
return global::Std.OptionalExtensions.Value(__optionalRet0);
}
set
{
if (ReferenceEquals(value, null))
throw new global::System.ArgumentNullException("value", "Cannot be null because it is passed by value.");
((__Internal*)__Instance)->numExpansions = *(global::Std.Optional.__Internal*) value.__Instance;
throw new System.NotImplementedException("Setting std::optional is currently not supported");
}
}
}

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

@ -40265,8 +40265,7 @@ namespace CppSharp @@ -40265,8 +40265,7 @@ namespace CppSharp
set
{
throw new NotImplementedException();
((__Internal*)__Instance)->numExpansions = null;
throw new System.NotImplementedException("Setting std::optional is currently not supported");
}
}
}
@ -40617,8 +40616,7 @@ namespace CppSharp @@ -40617,8 +40616,7 @@ namespace CppSharp
set
{
throw new NotImplementedException();
((__Internal*)__Instance)->packIndex = null;
throw new System.NotImplementedException("Setting std::optional is currently not supported");
}
}
@ -41325,8 +41323,7 @@ namespace CppSharp @@ -41325,8 +41323,7 @@ namespace CppSharp
set
{
throw new NotImplementedException();
((__Internal*)__Instance)->numExpansions = null;
throw new System.NotImplementedException("Setting std::optional is currently not supported");
}
}
}

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

@ -40265,8 +40265,7 @@ namespace CppSharp @@ -40265,8 +40265,7 @@ namespace CppSharp
set
{
throw new NotImplementedException();
((__Internal*)__Instance)->numExpansions = null;
throw new System.NotImplementedException("Setting std::optional is currently not supported");
}
}
}
@ -40617,8 +40616,7 @@ namespace CppSharp @@ -40617,8 +40616,7 @@ namespace CppSharp
set
{
throw new NotImplementedException();
((__Internal*)__Instance)->packIndex = null;
throw new System.NotImplementedException("Setting std::optional is currently not supported");
}
}
@ -41325,8 +41323,7 @@ namespace CppSharp @@ -41325,8 +41323,7 @@ namespace CppSharp
set
{
throw new NotImplementedException();
((__Internal*)__Instance)->numExpansions = null;
throw new System.NotImplementedException("Setting std::optional is currently not supported");
}
}
}

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

@ -40249,18 +40249,19 @@ namespace CppSharp @@ -40249,18 +40249,19 @@ namespace CppSharp
}
}
public global::Std.Optional<uint> NumExpansions
public System.Nullable<uint> NumExpansions
{
get
{
return global::Std.Optional<uint>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->numExpansions));
var __optionalRet0 = global::Std.Optional<uint>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->numExpansions));
if (!__optionalRet0.HasValue)
return null;
return global::Std.OptionalExtensions.Value(__optionalRet0);
}
set
{
if (ReferenceEquals(value, null))
throw new global::System.ArgumentNullException("value", "Cannot be null because it is passed by value.");
((__Internal*)__Instance)->numExpansions = *(global::Std.Optional.__Internal*) value.__Instance;
throw new System.NotImplementedException("Setting std::optional is currently not supported");
}
}
}
@ -40599,18 +40600,19 @@ namespace CppSharp @@ -40599,18 +40600,19 @@ namespace CppSharp
}
}
public global::Std.Optional<uint> PackIndex
public System.Nullable<uint> PackIndex
{
get
{
return global::Std.Optional<uint>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->packIndex));
var __optionalRet0 = global::Std.Optional<uint>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->packIndex));
if (!__optionalRet0.HasValue)
return null;
return global::Std.OptionalExtensions.Value(__optionalRet0);
}
set
{
if (ReferenceEquals(value, null))
throw new global::System.ArgumentNullException("value", "Cannot be null because it is passed by value.");
((__Internal*)__Instance)->packIndex = *(global::Std.Optional.__Internal*) value.__Instance;
throw new System.NotImplementedException("Setting std::optional is currently not supported");
}
}
@ -41305,18 +41307,19 @@ namespace CppSharp @@ -41305,18 +41307,19 @@ namespace CppSharp
}
}
public global::Std.Optional<uint> NumExpansions
public System.Nullable<uint> NumExpansions
{
get
{
return global::Std.Optional<uint>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->numExpansions));
var __optionalRet0 = global::Std.Optional<uint>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->numExpansions));
if (!__optionalRet0.HasValue)
return null;
return global::Std.OptionalExtensions.Value(__optionalRet0);
}
set
{
if (ReferenceEquals(value, null))
throw new global::System.ArgumentNullException("value", "Cannot be null because it is passed by value.");
((__Internal*)__Instance)->numExpansions = *(global::Std.Optional.__Internal*) value.__Instance;
throw new System.NotImplementedException("Setting std::optional is currently not supported");
}
}
}

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

@ -40249,18 +40249,19 @@ namespace CppSharp @@ -40249,18 +40249,19 @@ namespace CppSharp
}
}
public global::Std.Optional<uint> NumExpansions
public System.Nullable<uint> NumExpansions
{
get
{
return global::Std.Optional<uint>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->numExpansions));
var __optionalRet0 = global::Std.Optional<uint>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->numExpansions));
if (!__optionalRet0.HasValue)
return null;
return global::Std.OptionalExtensions.Value(__optionalRet0);
}
set
{
if (ReferenceEquals(value, null))
throw new global::System.ArgumentNullException("value", "Cannot be null because it is passed by value.");
((__Internal*)__Instance)->numExpansions = *(global::Std.Optional.__Internalc__N_std_S_optional__i*) value.__Instance;
throw new System.NotImplementedException("Setting std::optional is currently not supported");
}
}
}
@ -40599,18 +40600,19 @@ namespace CppSharp @@ -40599,18 +40600,19 @@ namespace CppSharp
}
}
public global::Std.Optional<uint> PackIndex
public System.Nullable<uint> PackIndex
{
get
{
return global::Std.Optional<uint>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->packIndex));
var __optionalRet0 = global::Std.Optional<uint>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->packIndex));
if (!__optionalRet0.HasValue)
return null;
return global::Std.OptionalExtensions.Value(__optionalRet0);
}
set
{
if (ReferenceEquals(value, null))
throw new global::System.ArgumentNullException("value", "Cannot be null because it is passed by value.");
((__Internal*)__Instance)->packIndex = *(global::Std.Optional.__Internalc__N_std_S_optional__i*) value.__Instance;
throw new System.NotImplementedException("Setting std::optional is currently not supported");
}
}
@ -41305,18 +41307,19 @@ namespace CppSharp @@ -41305,18 +41307,19 @@ namespace CppSharp
}
}
public global::Std.Optional<uint> NumExpansions
public System.Nullable<uint> NumExpansions
{
get
{
return global::Std.Optional<uint>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->numExpansions));
var __optionalRet0 = global::Std.Optional<uint>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->numExpansions));
if (!__optionalRet0.HasValue)
return null;
return global::Std.OptionalExtensions.Value(__optionalRet0);
}
set
{
if (ReferenceEquals(value, null))
throw new global::System.ArgumentNullException("value", "Cannot be null because it is passed by value.");
((__Internal*)__Instance)->numExpansions = *(global::Std.Optional.__Internalc__N_std_S_optional__i*) value.__Instance;
throw new System.NotImplementedException("Setting std::optional is currently not supported");
}
}
}

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

@ -40249,18 +40249,19 @@ namespace CppSharp @@ -40249,18 +40249,19 @@ namespace CppSharp
}
}
public global::Std.Optional<uint> NumExpansions
public System.Nullable<uint> NumExpansions
{
get
{
return global::Std.Optional<uint>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->numExpansions));
var __optionalRet0 = global::Std.Optional<uint>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->numExpansions));
if (!__optionalRet0.HasValue)
return null;
return global::Std.OptionalExtensions.Value(__optionalRet0);
}
set
{
if (ReferenceEquals(value, null))
throw new global::System.ArgumentNullException("value", "Cannot be null because it is passed by value.");
((__Internal*)__Instance)->numExpansions = *(global::Std.Optional.__Internalc__N_std_S_optional__i*) value.__Instance;
throw new System.NotImplementedException("Setting std::optional is currently not supported");
}
}
}
@ -40599,18 +40600,19 @@ namespace CppSharp @@ -40599,18 +40600,19 @@ namespace CppSharp
}
}
public global::Std.Optional<uint> PackIndex
public System.Nullable<uint> PackIndex
{
get
{
return global::Std.Optional<uint>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->packIndex));
var __optionalRet0 = global::Std.Optional<uint>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->packIndex));
if (!__optionalRet0.HasValue)
return null;
return global::Std.OptionalExtensions.Value(__optionalRet0);
}
set
{
if (ReferenceEquals(value, null))
throw new global::System.ArgumentNullException("value", "Cannot be null because it is passed by value.");
((__Internal*)__Instance)->packIndex = *(global::Std.Optional.__Internalc__N_std_S_optional__i*) value.__Instance;
throw new System.NotImplementedException("Setting std::optional is currently not supported");
}
}
@ -41305,18 +41307,19 @@ namespace CppSharp @@ -41305,18 +41307,19 @@ namespace CppSharp
}
}
public global::Std.Optional<uint> NumExpansions
public System.Nullable<uint> NumExpansions
{
get
{
return global::Std.Optional<uint>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->numExpansions));
var __optionalRet0 = global::Std.Optional<uint>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->numExpansions));
if (!__optionalRet0.HasValue)
return null;
return global::Std.OptionalExtensions.Value(__optionalRet0);
}
set
{
if (ReferenceEquals(value, null))
throw new global::System.ArgumentNullException("value", "Cannot be null because it is passed by value.");
((__Internal*)__Instance)->numExpansions = *(global::Std.Optional.__Internalc__N_std_S_optional__i*) value.__Instance;
throw new System.NotImplementedException("Setting std::optional is currently not supported");
}
}
}

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

@ -40327,8 +40327,7 @@ namespace CppSharp @@ -40327,8 +40327,7 @@ namespace CppSharp
set
{
throw new NotImplementedException();
((__Internal*)__Instance)->numExpansions = null;
throw new System.NotImplementedException("Setting std::optional is currently not supported");
}
}
}
@ -40681,8 +40680,7 @@ namespace CppSharp @@ -40681,8 +40680,7 @@ namespace CppSharp
set
{
throw new NotImplementedException();
((__Internal*)__Instance)->packIndex = null;
throw new System.NotImplementedException("Setting std::optional is currently not supported");
}
}
@ -41390,8 +41388,7 @@ namespace CppSharp @@ -41390,8 +41388,7 @@ namespace CppSharp
set
{
throw new NotImplementedException();
((__Internal*)__Instance)->numExpansions = null;
throw new System.NotImplementedException("Setting std::optional is currently not supported");
}
}
}

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

@ -40327,8 +40327,7 @@ namespace CppSharp @@ -40327,8 +40327,7 @@ namespace CppSharp
set
{
throw new NotImplementedException();
((__Internal*)__Instance)->numExpansions = null;
throw new System.NotImplementedException("Setting std::optional is currently not supported");
}
}
}
@ -40681,8 +40680,7 @@ namespace CppSharp @@ -40681,8 +40680,7 @@ namespace CppSharp
set
{
throw new NotImplementedException();
((__Internal*)__Instance)->packIndex = null;
throw new System.NotImplementedException("Setting std::optional is currently not supported");
}
}
@ -41390,8 +41388,7 @@ namespace CppSharp @@ -41390,8 +41388,7 @@ namespace CppSharp
set
{
throw new NotImplementedException();
((__Internal*)__Instance)->numExpansions = null;
throw new System.NotImplementedException("Setting std::optional is currently not supported");
}
}
}

Loading…
Cancel
Save