I've also implemented data pointer usage verification in debug mode. If the data pointer is written or used after the handle was closed, the process will crash because we protect the pages appropriately (just line we do for HPyUnicode_AsUTF8AndSize.
I also took the opportunity to implement the functionality on Windows as well.
Resolves #183 .
I've also implemented data pointer usage verification in debug mode. If the data pointer is written or used after the handle was closed, the process will crash because we protect the pages appropriately (just line we do for
HPyUnicode_AsUTF8AndSize
.I also took the opportunity to implement the functionality on Windows as well.