示例#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;
 }