Nullptr of CPP equivalent in RUST for FFI

what is the nullptr equivalent in RUST for FFI. I have tried ptr::null() and ptr::null_mut() but not working?

How do you know it is not working?


I don't think it can be "not working" because it's literally the same as NULL in C and nullptr in C++...


This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.