예제 #1
0
 private unsafe static extern float my_rust_struct_free(PtrMyRustStruct *ptr);
예제 #2
0
 public unsafe static void Free(PtrMyRustStruct *test)
 {
     my_rust_struct_free(test);
 }
예제 #3
0
 private unsafe MyRustStruct(PtrMyRustStruct *nativePtr)
 {
     this.ptr = nativePtr;
 }