junrushao opened a new pull request, #31:
URL: https://github.com/apache/tvm-ffi/pull/31

   Per discussion w/ @tqchen.
   
   In dataclass-syntax classes as introduced in #8, we likely always use the 
reflected `_C___init__` method to initialize an instance. This PR gives a 
shortcut to this convention, where
   
   ```pytthon
   self.__init_handle_by_constructor__(_MyClass._C___init__, ...)
   ```
   
   is equivalent to
   
   ```
   self.__ffi_init__(v_i64 + 1, v_i32 + 2)
   ```


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