public TypeSymbol gptrarray_type;
public TypeSymbol gthreadpool_type;
public DataType gquark_type;
- public DataType genumvalue_type;
public Struct gvalue_type;
public Class gvariant_type;
public Struct mutex_type;
gthreadpool_type = (TypeSymbol) glib_ns.scope.lookup ("ThreadPool");
gquark_type = new IntegerType ((Struct) glib_ns.scope.lookup ("Quark"));
- genumvalue_type = new ObjectType ((Class) glib_ns.scope.lookup ("EnumValue"));
gvalue_type = (Struct) glib_ns.scope.lookup ("Value");
gvariant_type = (Class) glib_ns.scope.lookup ("Variant");
mutex_type = (Struct) glib_ns.scope.lookup ("StaticRecMutex");
}
var ccomma = new CCodeCommaExpression ();
- var temp_var = get_temp_variable (genumvalue_type, false, expr, false);
+ var temp_var = get_temp_variable (new CType ("GEnumValue*"), false, expr, false);
temp_vars.insert (0, temp_var);
var class_ref = new CCodeFunctionCall (new CCodeIdentifier ("g_type_class_ref"));