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?

3 Likes

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

5 Likes