Function dart_sys::Dart_GetType
source · pub unsafe extern "C" fn Dart_GetType(
library: Dart_Handle,
class_name: Dart_Handle,
number_of_type_arguments: isize,
type_arguments: *mut Dart_Handle
) -> Dart_Handle
Expand description
Lookup or instantiate a legacy type by name and type arguments from a Library.
\param library The library containing the class or interface. \param class_name The class name for the type. \param number_of_type_arguments Number of type arguments. For non parametric types the number of type arguments would be 0. \param type_arguments Pointer to an array of type arguments. For non parametric types a NULL would be passed in for this argument.
\return If no error occurs, the type is returned. Otherwise an error handle is returned.