方法

GIRepositoryInterfaceInfofind_vfunc

自:2.80

声明 [src]

GIVFuncInfo*
gi_interface_info_find_vfunc (
  GIInterfaceInfo* info,
  const char* name
)

描述 [src]

定位一个名为 name 的虚函数槽。

有关虚函数的更多信息,请参阅 gi_object_info_find_vfunc() 的文档。

自:2.80

参数

name

类型: const char*

要查找的虚函数的名称。

数据由方法的调用者拥有。
该值是空终止的UTF-8字符串。

返回值

类型: GIVFuncInfo

返回 GIVFuncInfoNULL 如果未找到。使用 gi_base_info_unref() 释放它。

方法的调用者拥有返回的数据,并负责释放它。
返回值可以为 NULL