예제 #1
0
파일: InputList.cs 프로젝트: fraga/cs-api
 protected override void DestroyNativeList()
 {
     if (ownsNativeObject_)
     {
         InputListNative.kth_chain_input_list_destruct(NativeInstance);
     }
 }
예제 #2
0
파일: InputList.cs 프로젝트: fraga/cs-api
 protected override void AddElement(Input element)
 {
     InputListNative.kth_chain_input_list_push_back(NativeInstance, element.NativeInstance);
 }
예제 #3
0
파일: InputList.cs 프로젝트: fraga/cs-api
 protected override Input GetNthNativeElement(UInt64 n)
 {
     return(new Input(InputListNative.kth_chain_input_list_nth(NativeInstance, n), false));
 }
예제 #4
0
파일: InputList.cs 프로젝트: fraga/cs-api
 protected override UInt64 GetCount()
 {
     return(InputListNative.kth_chain_input_list_count(NativeInstance));
 }
예제 #5
0
파일: InputList.cs 프로젝트: fraga/cs-api
 protected override IntPtr CreateNativeList()
 {
     ownsNativeObject_ = true;
     return(InputListNative.kth_chain_input_list_construct_default());
 }