mirror of
https://github.com/extism/extism.git
synced 2026-01-08 21:38:13 -05:00
doc: more information about error_set (#737)
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user