Ejemplo n.º 1
0
ValaFloatingType* vala_floating_type_construct (GType object_type, ValaStruct* type_symbol) {
	ValaFloatingType* self = NULL;
	ValaStruct* _tmp0_;
	g_return_val_if_fail (type_symbol != NULL, NULL);
	_tmp0_ = type_symbol;
	self = (ValaFloatingType*) vala_value_type_construct (object_type, (ValaTypeSymbol*) _tmp0_);
	return self;
}
Ejemplo n.º 2
0
ValaEnumValueType* vala_enum_value_type_construct (GType object_type, ValaEnum* type_symbol) {
	ValaEnumValueType* self = NULL;
	ValaEnum* _tmp0_;
	g_return_val_if_fail (type_symbol != NULL, NULL);
	_tmp0_ = type_symbol;
	self = (ValaEnumValueType*) vala_value_type_construct (object_type, (ValaTypeSymbol*) _tmp0_);
	return self;
}
Ejemplo n.º 3
0
ValaIntegerType* vala_integer_type_construct (GType object_type, ValaStruct* type_symbol, const gchar* literal_value, const gchar* literal_type_name) {
	ValaIntegerType* self = NULL;
	ValaStruct* _tmp0_;
	const gchar* _tmp1_;
	gchar* _tmp2_;
	const gchar* _tmp3_;
	gchar* _tmp4_;
	g_return_val_if_fail (type_symbol != NULL, NULL);
	_tmp0_ = type_symbol;
	self = (ValaIntegerType*) vala_value_type_construct (object_type, (ValaTypeSymbol*) _tmp0_);
	_tmp1_ = literal_value;
	_tmp2_ = g_strdup (_tmp1_);
	_g_free0 (self->priv->literal_value);
	self->priv->literal_value = _tmp2_;
	_tmp3_ = literal_type_name;
	_tmp4_ = g_strdup (_tmp3_);
	_g_free0 (self->priv->literal_type_name);
	self->priv->literal_type_name = _tmp4_;
	return self;
}