! * \brief Get the custom type name for a given type code. */
| 28 | * \brief Get the custom type name for a given type code. |
| 29 | */ |
| 30 | inline String DLDataTypeCodeGetCustomTypeName(DLDataTypeCode type_code) { |
| 31 | static Function fget_custom_type_name = Function::GetGlobalRequired("dtype.get_custom_type_name"); |
| 32 | return fget_custom_type_name(static_cast<int>(type_code)).cast<String>(); |
| 33 | } |
| 34 | |
| 35 | /*! |
| 36 | * \brief Get the custom type name for a given type code. |
no outgoing calls
no test coverage detected