utf8 g_irepository_get_c_prefix GIRepository * self utf8 namespace_ get_c_prefix @accepts(utf8) @returns(utf8) def GIRepository.Repository.get_c_prefix(namespace_)

This function returns the "C prefix", or the C level namespace associated with the given introspection namespace. Each C symbol starts with this prefix, as well each GType in the library.

Note: The namespace must have already been loaded using a function such as g_irepository_require() before calling this function.

namespace_ :

Namespace to inspect

Returns :

C namespace prefix, or %NULL if none associated