Exemplo n.º 1
0
 protected override void DestroyNativeList()
 {
     //Logger.Log("Destroying block list " + NativeInstance.ToString("X"));
     BlockListNative.kth_chain_block_list_destruct(NativeInstance);
 }
Exemplo n.º 2
0
 protected override void AddElement(Block element)
 {
     BlockListNative.kth_chain_block_list_push_back(NativeInstance, element.NativeInstance);
 }
Exemplo n.º 3
0
 protected override Block GetNthNativeElement(UInt64 n)
 {
     return(new Block(BlockListNative.kth_chain_block_list_nth(NativeInstance, n), false));
 }
Exemplo n.º 4
0
 protected override UInt64 GetCount()
 {
     return(BlockListNative.kth_chain_block_list_count(NativeInstance));
 }
Exemplo n.º 5
0
 protected override IntPtr CreateNativeList()
 {
     return(BlockListNative.kth_chain_block_list_construct_default());
 }