From: Evan Nemerson Date: Sun, 16 Oct 2011 04:42:09 +0000 (-0700) Subject: glib-2.0: add annotations for using GTimeSpan as a GObject property X-Git-Tag: 0.14.1~32 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=44238e4946f186bd7f22d3038af8ae3df676c4ee;p=thirdparty%2Fvala.git glib-2.0: add annotations for using GTimeSpan as a GObject property --- diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi index 3637061dd..194ff6b5d 100644 --- a/vapi/glib-2.0.vapi +++ b/vapi/glib-2.0.vapi @@ -2459,6 +2459,9 @@ namespace GLib { public unowned string? strptime (string buf, string format); } + [SimpleType] + [CCode (cheader_filename = "glib.h", type_id = "G_TYPE_INT64", marshaller_type_name = "INT64", get_value_function = "g_value_get_int64", set_value_function = "g_value_set_int64", default_value = "0LL", type_signature = "x")] + [IntegerType (rank = 10)] public struct TimeSpan : int64 { public const TimeSpan DAY; public const TimeSpan HOUR;