vala r1411 - in trunk: . vapi
- From: juergbi svn gnome org
- To: svn-commits-list gnome org
- Subject: vala r1411 - in trunk: . vapi
- Date: Fri, 23 May 2008 17:57:30 +0000 (UTC)
Author: juergbi
Date: Fri May 23 17:57:30 2008
New Revision: 1411
URL: http://svn.gnome.org/viewvc/vala?rev=1411&view=rev
Log:
2008-05-23 Juerg Billeter <j bitron ch>
* vapi/dbus-glib-1.vapi: add DBus.ObjectPath class
Modified:
trunk/ChangeLog
trunk/vapi/dbus-glib-1.vapi
Modified: trunk/vapi/dbus-glib-1.vapi
==============================================================================
--- trunk/vapi/dbus-glib-1.vapi (original)
+++ trunk/vapi/dbus-glib-1.vapi Fri May 23 17:57:30 2008
@@ -1,6 +1,6 @@
/* dbus-glib-1.vala
*
- * Copyright (C) 2007 JÃrg Billeter
+ * Copyright (C) 2007-2008 JÃrg Billeter
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@ -114,6 +114,12 @@
public weak string get_interface ();
}
+ [CCode (cname = "char", const_cname = "const char", copy_function = "g_strdup", free_function = "g_free", cheader_filename = "stdlib.h,string.h,glib.h", type_id = "DBUS_TYPE_G_OBJECT_PATH", marshaller_type_name = "STRING", get_value_function = "g_value_get_string", set_value_function = "g_value_set_string", type_signature = "o")]
+ public class ObjectPath : string {
+ [CCode (cname = "g_strdup")]
+ public ObjectPath (string path);
+ }
+
[CCode (cname = "DBusGProxyCallNotify")]
public delegate void ProxyCallNotify (Object obj, ProxyCall call_id);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]