get_c_prefix


Description:

public unowned string get_c_prefix (string 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 Type in the library.

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

Parameters:

this

A Repository or null for the singleton process-global default Repository

namespace_

Namespace to inspect

Returns:

C namespace prefix, or null if none associated




2022 vala-language.org