Obtain the type information for method named name.
name
a method name
a UnionInfo
the FunctionInfo, free it with g_base_info_unref when done.
g_base_info_unref