doc: more information about error_set (#737)

This commit is contained in:
zach
2024-07-10 12:43:37 -07:00
committed by GitHub
parent 8312e98463
commit ee8c41ab26

View File

@@ -546,7 +546,8 @@ pub unsafe fn reset() {
MemoryRoot::new().reset()
}
/// Set the error message offset
/// Set the error message offset, the handle passed to this
/// function should not be freed after this call
#[no_mangle]
pub unsafe fn error_set(h: Handle) {
let root = MemoryRoot::new();