| 452 | class TWithDefaults : public ObjectRef { |
| 453 | public: |
| 454 | explicit TWithDefaults(int64_t required_val, int64_t default_int = 42, |
| 455 | String default_str = "default", bool default_bool = true) { |
| 456 | data_ = make_object<TWithDefaultsObj>(required_val, default_int, default_str, default_bool); |
| 457 | } |
| 458 | |
| 459 | TVM_FFI_DEFINE_OBJECT_REF_METHODS_NULLABLE(TWithDefaults, ObjectRef, TWithDefaultsObj); |
| 460 | }; |
nothing calls this directly
no outgoing calls
no test coverage detected