Allow register_result to return any type.

This commit is contained in:
Stephen Chung
2021-03-15 22:37:50 +08:00
parent 27953ef745
commit a1549bb377
2 changed files with 24 additions and 15 deletions

View File

@@ -11,6 +11,11 @@ Breaking changes
* `FnPtr::call_dynamic` now takes `&NativeCallContext` instead of consuming it.
* All `Module::set_fn_XXX` methods are removed, in favor of `Module::set_native_fn`.
Enhancements
------------
* `Engine::register_result_fn` no longer requires the successful return type to be `Dynamic`. It can now be any type.
Version 0.19.14
===============