| 293 | : params(params), body(body), comment(comment) {} |
| 294 | |
| 295 | static void RegisterReflection() { |
| 296 | namespace refl = tvm::ffi::reflection; |
| 297 | refl::ObjectDef<TFuncObj>() |
| 298 | .def_ro("params", &TFuncObj::params, refl::AttachFieldFlag::SEqHashDefRecursive()) |
| 299 | .def_ro("body", &TFuncObj::body) |
| 300 | .def_ro("comment", &TFuncObj::comment, refl::AttachFieldFlag::SEqHashIgnore()); |
| 301 | } |
| 302 | |
| 303 | static constexpr TVMFFISEqHashKind _type_s_eq_hash_kind = kTVMFFISEqHashKindTreeNode; |
| 304 | TVM_FFI_DECLARE_OBJECT_INFO_FINAL("test.Func", TFuncObj, Object); |
nothing calls this directly
no outgoing calls
no test coverage detected