Constructor
ValagirConstantnew
Declaration
GirConstant*
gir_constant_new (
GirInfoAttrsParameters* info_attrs,
const gchar* name,
const gchar* value,
const gchar* c_type,
const gchar* c_identifier,
GirInfoElementsParameters* info_elements,
GirAnyType* anytype,
GirXmlReference* source
)
Parameters
info_attrs-
Type:
GirInfoAttrsParametersNo description available.
The data is owned by the caller of the function. name-
Type:
const gchar*No description available.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. value-
Type:
const gchar*No description available.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. c_type-
Type:
const gchar*No description available.
The argument can be NULL.The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. c_identifier-
Type:
const gchar*No description available.
The argument can be NULL.The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. info_elements-
Type:
GirInfoElementsParametersNo description available.
The data is owned by the caller of the function. anytype-
Type:
GirAnyTypeNo description available.
The argument can be NULL.The data is owned by the caller of the function. source-
Type:
GirXmlReferenceNo description available.
The argument can be NULL.The data is owned by the caller of the function.
Return value
Type: GirConstant
No description available.
| The caller of the function takes ownership of the data, and is responsible for freeing it. |