方法
GIRepositoryRepositoryget_shared_libraries
从:2.80
声明 [源]
const char* const*
gi_repository_get_shared_libraries (
GIRepository* repository,
const char* namespace_,
size_t* out_n_elements
)
描述 [源]
此函数返回与给定命名空间namespace_
相关联的共享 C 库的路径数组。
可能没有相关联的共享库路径,在这种情况下,此函数将返回NULL
。
注意:在调用此函数之前,必须已使用如gi_repository_require()
之类的函数加载该命名空间。
该列表是GIRepository内部的,不应释放,也不应释放其字符串元素。
列表保证以NULL
结尾。在out_n_elements
中不计数NULL
终止符。
自:2.80