Commit 20423931 authored by Jürg Billeter's avatar Jürg Billeter Committed by Jürg Billeter

add GEnumClass and GEnumValue bindings

2008-04-13  Juerg Billeter  <j@bitron.ch>

	* vapi/glib-2.0.vapi: add GEnumClass and GEnumValue bindings

svn path=/trunk/; revision=1193
parent 9a1ee893
2008-04-13 Jürg Billeter <j@bitron.ch>
* vapi/glib-2.0.vapi: add GEnumClass and GEnumValue bindings
2008-04-13 Jürg Billeter <j@bitron.ch>
* configure.ac: Bump version to 0.3.1
......
......@@ -751,6 +751,17 @@ namespace GLib {
public class InitiallyUnowned : Object {
}
[CCode (lower_case_csuffix = "enum")]
public class EnumClass : TypeClass {
public weak EnumValue get_value (int value);
}
public class EnumValue {
public int value;
public weak string value_name;
public weak string value_nick;
}
[CCode (cname = "gpointer", has_type_id = true, type_id = "G_TYPE_BOXED", marshaller_type_name = "BOXED", get_value_function = "g_value_get_boxed", set_value_function = "g_value_set_boxed")]
public abstract class Boxed {
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment