Define TVM_FFI_DEFINE_OBJECT_REF_METHODS_NULLABLE

Define TVM_FFI_DEFINE_OBJECT_REF_METHODS_NULLABLE#

Define Documentation#

TVM_FFI_DEFINE_OBJECT_REF_METHODS_NULLABLE(TypeName, ParentType, ObjectName)#

Define object reference methods.

Note

This macro also defines the default constructor that puts the ObjectRef in undefined state initially.

Parameters:
  • TypeName – The object type name

  • ParentType – The parent type of the objectref

  • ObjectName – The type name of the object.