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