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