函数

GNativeObjecttype_add_interface_dynamic

声明 [源代码]

void
g_type_add_interface_dynamic (
  GType instance_type,
  GType interface_type,
  GTypePlugin* plugin
)

描述 [源代码]

interface_type添加到动态instance_type。使用指向plugin的`GTypePlugin`结构体中的信息来管理关系。

参数

instance_type

类型: GType

GType的实例化类型值。

interface_type

类型: GType

GType的接口类型值。

plugin

类型: GTypePlugin

用于检索GInterfaceInfo的`GTypePlugin`结构体。

数据由函数调用者拥有。