Seven-Streams opened a new pull request, #707:
URL: https://github.com/apache/tvm-ffi/pull/707

   Add Function::from_type_method(type_index, name) and 
Function::from_type_key_method(type_key, name) to look up methods registered 
through the C++ reflection registry (`efl::ObjectDef<T>::def(...)`), which live 
in the per-type method table rather than the global function table. 
Constructors registered via refl::init are reachable under the reserved name 
__ffi_init__.
   
   Downstream Rust consumers of libraries that follow the ObjectDef idiom 
previously had to hand-roll this table walk against raw tvm-ffi-sys structs; 
this provides the missing primitive in the crate itself.


-- 
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]

Reply via email to