tqchen opened a new pull request, #821: URL: https://github.com/apache/tvm-ffi/pull/821
## Summary - Add `NativeFunctionView<Expected<R>(Args...)>` for reflection hooks with a context-free native ABI adapter and a borrowed packed-function fallback. - Add an owning `NativeFunction` counterpart with packed-function lifetime management and type traits for both forms. - Use typed native hooks for structural mutation and visitation while retaining the existing raw `TVMFFIAny` vtable ABI. Carry `Expected` results through container mutation helpers and inline those helpers into their registered adapters. Native hook targets bind at compile time with `FromNative<&Fn>()`; packed hooks remain available for frontend registration. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
