-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[test][libdotnet] refs #8 Added update submodule and remove test sha2…
…56xor
- Loading branch information
Maykel Arias Torres
committed
Oct 13, 2018
1 parent
8de0b15
commit c808036
Showing
9 changed files
with
211 additions
and
284 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
//------------------------------------------------------------------------------ | ||
// <auto-generated /> | ||
// | ||
// This file was automatically generated by SWIG (http://www.swig.org). | ||
// Version 3.0.12 | ||
// | ||
// Do not make changes to this file unless you know what you are doing--modify | ||
// the SWIG interface file instead. | ||
//------------------------------------------------------------------------------ | ||
|
||
namespace skycoin { | ||
|
||
public class InputTestData : global::System.IDisposable { | ||
private global::System.Runtime.InteropServices.HandleRef swigCPtr; | ||
protected bool swigCMemOwn; | ||
|
||
internal InputTestData(global::System.IntPtr cPtr, bool cMemoryOwn) { | ||
swigCMemOwn = cMemoryOwn; | ||
swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); | ||
} | ||
|
||
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(InputTestData obj) { | ||
return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; | ||
} | ||
|
||
~InputTestData() { | ||
Dispose(); | ||
} | ||
|
||
public virtual void Dispose() { | ||
lock(this) { | ||
if (swigCPtr.Handle != global::System.IntPtr.Zero) { | ||
if (swigCMemOwn) { | ||
swigCMemOwn = false; | ||
skycoinPINVOKE.delete_InputTestData(swigCPtr); | ||
} | ||
swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); | ||
} | ||
global::System.GC.SuppressFinalize(this); | ||
} | ||
} | ||
|
||
public GoSlice Hashes { | ||
set { | ||
skycoinPINVOKE.set_InputTestData_Hashes(swigCPtr, GoSlice.getCPtr(value)); | ||
} | ||
get { | ||
global::System.IntPtr cPtr = skycoinPINVOKE.get_InputTestData_Hashes(swigCPtr); | ||
GoSlice ret = (cPtr == global::System.IntPtr.Zero) ? null : new GoSlice(cPtr, false); | ||
return ret; | ||
} | ||
} | ||
|
||
public InputTestData() : this(skycoinPINVOKE.new_InputTestData(), true) { | ||
} | ||
|
||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
//------------------------------------------------------------------------------ | ||
// <auto-generated /> | ||
// | ||
// This file was automatically generated by SWIG (http://www.swig.org). | ||
// Version 3.0.12 | ||
// | ||
// Do not make changes to this file unless you know what you are doing--modify | ||
// the SWIG interface file instead. | ||
//------------------------------------------------------------------------------ | ||
|
||
namespace skycoin { | ||
|
||
public class InputTestDataJSON : global::System.IDisposable { | ||
private global::System.Runtime.InteropServices.HandleRef swigCPtr; | ||
protected bool swigCMemOwn; | ||
|
||
internal InputTestDataJSON(global::System.IntPtr cPtr, bool cMemoryOwn) { | ||
swigCMemOwn = cMemoryOwn; | ||
swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); | ||
} | ||
|
||
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(InputTestDataJSON obj) { | ||
return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; | ||
} | ||
|
||
~InputTestDataJSON() { | ||
Dispose(); | ||
} | ||
|
||
public virtual void Dispose() { | ||
lock(this) { | ||
if (swigCPtr.Handle != global::System.IntPtr.Zero) { | ||
if (swigCMemOwn) { | ||
swigCMemOwn = false; | ||
skycoinPINVOKE.delete_InputTestDataJSON(swigCPtr); | ||
} | ||
swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); | ||
} | ||
global::System.GC.SuppressFinalize(this); | ||
} | ||
} | ||
|
||
public GoSlice Hashes { | ||
set { | ||
skycoinPINVOKE.set_InputTestDataJSON_Hashes(swigCPtr, GoSlice.getCPtr(value)); | ||
} | ||
get { | ||
global::System.IntPtr cPtr = skycoinPINVOKE.get_InputTestDataJSON_Hashes(swigCPtr); | ||
GoSlice ret = (cPtr == global::System.IntPtr.Zero) ? null : new GoSlice(cPtr, false); | ||
return ret; | ||
} | ||
} | ||
|
||
public InputTestDataJSON() : this(skycoinPINVOKE.new_InputTestDataJSON(), true) { | ||
} | ||
|
||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,92 @@ | ||
//------------------------------------------------------------------------------ | ||
// <auto-generated /> | ||
// | ||
// This file was automatically generated by SWIG (http://www.swig.org). | ||
// Version 3.0.12 | ||
// | ||
// Do not make changes to this file unless you know what you are doing--modify | ||
// the SWIG interface file instead. | ||
//------------------------------------------------------------------------------ | ||
|
||
namespace skycoin { | ||
|
||
public class KeysTestData : global::System.IDisposable { | ||
private global::System.Runtime.InteropServices.HandleRef swigCPtr; | ||
protected bool swigCMemOwn; | ||
|
||
internal KeysTestData(global::System.IntPtr cPtr, bool cMemoryOwn) { | ||
swigCMemOwn = cMemoryOwn; | ||
swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); | ||
} | ||
|
||
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(KeysTestData obj) { | ||
return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; | ||
} | ||
|
||
~KeysTestData() { | ||
Dispose(); | ||
} | ||
|
||
public virtual void Dispose() { | ||
lock(this) { | ||
if (swigCPtr.Handle != global::System.IntPtr.Zero) { | ||
if (swigCMemOwn) { | ||
swigCMemOwn = false; | ||
skycoinPINVOKE.delete_KeysTestData(swigCPtr); | ||
} | ||
swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); | ||
} | ||
global::System.GC.SuppressFinalize(this); | ||
} | ||
} | ||
|
||
public cipher__Address Address { | ||
set { | ||
skycoinPINVOKE.set_KeysTestData_Address(swigCPtr, cipher__Address.getCPtr(value)); | ||
} | ||
get { | ||
global::System.IntPtr cPtr = skycoinPINVOKE.get_KeysTestData_Address(swigCPtr); | ||
cipher__Address ret = (cPtr == global::System.IntPtr.Zero) ? null : new cipher__Address(cPtr, false); | ||
return ret; | ||
} | ||
} | ||
|
||
public SWIGTYPE_p_GoUint8_ Secret { | ||
set { | ||
skycoinPINVOKE.set_KeysTestData_Secret(swigCPtr, SWIGTYPE_p_GoUint8_.getCPtr(value)); | ||
} | ||
get { | ||
global::System.IntPtr cPtr = skycoinPINVOKE.get_KeysTestData_Secret(swigCPtr); | ||
SWIGTYPE_p_GoUint8_ ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_GoUint8_(cPtr, false); | ||
return ret; | ||
} | ||
} | ||
|
||
public SWIGTYPE_p_GoUint8_ Public { | ||
set { | ||
skycoinPINVOKE.set_KeysTestData_Public(swigCPtr, SWIGTYPE_p_GoUint8_.getCPtr(value)); | ||
} | ||
get { | ||
global::System.IntPtr cPtr = skycoinPINVOKE.get_KeysTestData_Public(swigCPtr); | ||
SWIGTYPE_p_GoUint8_ ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_GoUint8_(cPtr, false); | ||
return ret; | ||
} | ||
} | ||
|
||
public GoSlice Signatures { | ||
set { | ||
skycoinPINVOKE.set_KeysTestData_Signatures(swigCPtr, GoSlice.getCPtr(value)); | ||
} | ||
get { | ||
global::System.IntPtr cPtr = skycoinPINVOKE.get_KeysTestData_Signatures(swigCPtr); | ||
GoSlice ret = (cPtr == global::System.IntPtr.Zero) ? null : new GoSlice(cPtr, false); | ||
return ret; | ||
} | ||
} | ||
|
||
public KeysTestData() : this(skycoinPINVOKE.new_KeysTestData(), true) { | ||
} | ||
|
||
} | ||
|
||
} |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.